mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 06:10:31 +05:30
Fix crash when bottom sheet is being dismissed
This commit is contained in:
parent
11dc261f91
commit
0924c48fab
@ -38,7 +38,9 @@ open class BaseBottomSheet : ExpandedBottomSheet() {
|
|||||||
lifecycleScope.launch {
|
lifecycleScope.launch {
|
||||||
dialog?.hide()
|
dialog?.hide()
|
||||||
listener?.invoke(index)
|
listener?.invoke(index)
|
||||||
dismiss()
|
runCatching {
|
||||||
|
dismiss()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user