mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
Merge pull request #3368 from Bnyro/master
Fix crash when bottom sheet is being dismissed
This commit is contained in:
commit
8ed5a9484f
@ -38,7 +38,9 @@ open class BaseBottomSheet : ExpandedBottomSheet() {
|
||||
lifecycleScope.launch {
|
||||
dialog?.hide()
|
||||
listener?.invoke(index)
|
||||
dismiss()
|
||||
runCatching {
|
||||
dismiss()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user