mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-19 12:13:56 +00:00
check for initialization
This commit is contained in:
@@ -395,7 +395,9 @@ class MediaDetailsActivity : AppCompatActivity(), AppBarLayout.OnOffsetChangedLi
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
tabLayout.selectedItemId = idFromSelect()
|
||||
if (this::tabLayout.isInitialized) {
|
||||
tabLayout.selectedItemId = idFromSelect()
|
||||
}
|
||||
super.onResume()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user