Fixed filtering behaviour, since it wouldn't recognise items with two preferences if only one had been selected; added icons for preferences

This commit is contained in:
denizk0461
2023-04-18 21:33:24 +02:00
parent c4d482f78f
commit 70a89ac681
24 changed files with 283 additions and 16 deletions
@@ -38,7 +38,7 @@ class CanteenOfferPageAdapter(private var offers: List<CanteenOffer>, private va
filteredForDate
} else {
filteredForDate.filter {
Log.d("eek!5", it.dietaryPreferences)
Log.d("eek!5", "${it.title}: - ${prefsRegex} vs ${it.dietaryPreferences}")
prefsRegex.matches(it.dietaryPreferences)
}
}