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:
@@ -22,7 +22,7 @@
|
||||
android:fontFamily="@font/lato_bolditalic"
|
||||
android:text="@string/title_settings"
|
||||
app:layout_scrollFlags="scroll|exitUntilCollapsed"
|
||||
android:textSize="32sp"/>
|
||||
android:textSize="28sp"/>
|
||||
|
||||
</com.google.android.material.appbar.AppBarLayout>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user