mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-01-19 05:16:56 -06:00
[Hotfix] Fix null cast exception in timetable day fragment.
This commit is contained in:
parent
e85d6fbc3b
commit
d67c2a90b1
@ -158,8 +158,8 @@ class TimetableDayFragment : Fragment(), CoroutineScope {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// clear the root view and add the ScrollView
|
// clear the root view and add the ScrollView
|
||||||
(view as FrameLayout).removeAllViews()
|
(view as FrameLayout?)?.removeAllViews()
|
||||||
(view as FrameLayout).addView(dayScroll)
|
(view as FrameLayout?)?.addView(dayScroll)
|
||||||
|
|
||||||
// Inflate a label view for each hour the day view will display
|
// Inflate a label view for each hour the day view will display
|
||||||
val hourLabelViews = ArrayList<View>()
|
val hourLabelViews = ArrayList<View>()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user