mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Fix crash when leaving recents screen
This commit is contained in:
parent
6a9b0a66db
commit
2ed4de0116
1 changed files with 3 additions and 1 deletions
|
@ -541,7 +541,9 @@ class RecentsController(bundle: Bundle? = null) :
|
|||
|
||||
override fun onDestroy() {
|
||||
super.onDestroy()
|
||||
binding.downloadBottomSheet.root.onDestroy()
|
||||
if (isBindingInitialized) {
|
||||
binding.downloadBottomSheet.root.onDestroy()
|
||||
}
|
||||
snack?.dismiss()
|
||||
snack = null
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue