Red dwarf= no habitable planets

No.12822094 ViewReplyOriginalReport
Any rocky planet orbiting a red dwarf is gauaranteed to be an irradiated wasteland(and never pic related) because red dwarfs have much more volatile and powerful solar flares, and any planet in their habitable zone is close enough to have its athmosphere completely stripped. Why are red dwarves still considered to be potential hosts for habitable planets then?