Merge pull request #3368 from Bnyro/master

Fix crash when bottom sheet is being dismissed
This commit is contained in:
Bnyro 2023-03-24 16:12:10 +01:00 committed by GitHub
commit 8ed5a9484f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,9 @@ open class BaseBottomSheet : ExpandedBottomSheet() {
lifecycleScope.launch {
dialog?.hide()
listener?.invoke(index)
dismiss()
runCatching {
dismiss()
}
}
}
}