Sounds like could be the master cylinder. Check the fluid and look at each caliper for fluid leaks. It’s possible whoever did that flush left a bleeder loose. That would cause the problem. Good luck
Either the bleed screw was left slightly open or there's still air in the system. I suspect air tho. get someone with a powerbleeder to rebleed the system