Der, die or das?
feminine noun · custody · level B1
die Haften - in the plural, every German noun takes the article die.
"Haft" doesn't follow any of the 35 gender rules - it belongs to the words you learn together with their article, as one unit: die Haft. That's exactly what the app's spaced repetition is for.