Skip to content
Snippets Groups Projects
Commit 53e0e04b authored by Nicolas Pomepuy's avatar Nicolas Pomepuy Committed by Geoffrey Métais
Browse files

Fix IllegalArgumentException

parent 183c939e
No related branches found
No related tags found
1 merge request!281Beta fixes
......@@ -449,7 +449,10 @@ object MediaUtils : CoroutineScope {
}
private fun dismiss() {
if (this::dialog.isInitialized && dialog.isShowing) dialog.dismiss()
try {
if (this::dialog.isInitialized && dialog.isShowing) dialog.dismiss()
} catch (ignored: IllegalArgumentException) {
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment