Skip to content

Commit

Permalink
Properly hide closed lines
Browse files Browse the repository at this point in the history
  • Loading branch information
dfuchss committed Aug 6, 2024
1 parent 3d528a2 commit fa7124b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/org/fuchss/matrix/mensa/swka/SWKAMensa.kt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class SWKAMensa : CanteenAPI {
}

private fun closed(meals: List<Meal>): Boolean {
return meals.size == 1 && meals[0].name.lowercase() == "geschlossen"
return meals.size == 1 && meals[0].name.lowercase().contains("geschlossen")
}

private fun parseMeal(meal: Element): Meal? {
Expand Down

0 comments on commit fa7124b

Please sign in to comment.