Archived
CanteenFragment.kt: replaced buttons for opening hours and canteen switch embedded in the app bar with floating action buttons; implemented a possible fix for the app crashing after refreshing the canteen plan. This may have been caused by accessing the view/context of the fragment to let the user know that the refresh succeeded or encountered an error. Reference will be null by the time the fragment is inactive, causing a NullPointerException
This commit is contained in:
@@ -58,12 +58,15 @@
|
||||
|
||||
<string name="canteen_no_offer_header">Kein Angebot</string>
|
||||
<string name="canteen_no_offer_desc">Für diesen Tag sind keine Angebote vorhanden</string>
|
||||
<string name="canteen_fab_opening_hours_content_desc">Zeige Öffnungszeiten</string>
|
||||
<string name="canteen_fab_switch_canteen_content_desc">Wechsle Mensa</string>
|
||||
<string name="canteen_fab_refresh_content_desc">Aktualisiere Angebote</string>
|
||||
|
||||
<string name="sheet_licences_header">Lizenzen</string>
|
||||
|
||||
<string name="title_schedule">Dein Stundenplan</string>
|
||||
<string name="title_food">Mensenangebote</string>
|
||||
<string name="title_canteen_template">%s – Angebote</string>
|
||||
<string name="title_settings">App-Einstellungen</string>
|
||||
|
||||
<string name="canteen_opening_hours">%s – Öffnungszeiten</string>
|
||||
|
||||
Reference in New Issue
Block a user