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

Fix IllegalArgumentException

(cherry picked from commit 53e0e04b)
parent 54378474
No related branches found
No related tags found
No related merge requests found
......@@ -446,7 +446,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