Fixed tracker sheet corner radius not being rounded on start (#4799)

This commit is contained in:
CrepeTF 2021-05-22 17:16:17 +01:00 committed by GitHub
parent d6b3b0baf7
commit bbbcb18b91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,15 +50,10 @@ class TrackSheet(
adapter.items = controller.presenter.trackList
}
override fun onStart() {
super.onStart()
sheetBehavior.skipCollapsed = true
}
override fun show() {
super.show()
controller.presenter.refreshTrackers()
sheetBehavior.state = BottomSheetBehavior.STATE_EXPANDED
sheetBehavior.state = BottomSheetBehavior.STATE_COLLAPSED
}
fun onNextTrackers(trackers: List<TrackItem>) {