diff --git a/app/src/main/java/com/github/libretube/ui/sheets/BaseBottomSheet.kt b/app/src/main/java/com/github/libretube/ui/sheets/BaseBottomSheet.kt index 140adc68d..7531f3854 100644 --- a/app/src/main/java/com/github/libretube/ui/sheets/BaseBottomSheet.kt +++ b/app/src/main/java/com/github/libretube/ui/sheets/BaseBottomSheet.kt @@ -38,7 +38,9 @@ open class BaseBottomSheet : ExpandedBottomSheet() { lifecycleScope.launch { dialog?.hide() listener?.invoke(index) - dismiss() + runCatching { + dismiss() + } } } }