Having trouble :( BF

So I've been ebf for 7 weeks now and my daughter is starting to not latch to me even with the nipple shield .. She will go all day latching perfectly then at night she will only take my milk in a bottle :( I feel sad and I wanna give up !! my milk supply is very good and I've been using the nipple shields for 4 weeks now and she starts this idk what to do I feel like I failed