My baby refuses to nurse

My LO is 4 months old and developed a bad case of thrush plus the worse cold ever right after each other. The cold made nursing really hard for her so I pumped/supplemented. Now she's feeling a little better but she refuses to nurse. I mean screams bloody murder until I give her a bottle. Its making me so so depressed. I wasn't ready to give up breastfeeding yet. And I don't respond great to pumping to do it exclusively. It takes me a really long time for not a lot of milk to come out.

Am I doomed? Any hope?