mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix exception after changing theme
This commit is contained in:
@@ -199,7 +199,11 @@ class ProgressDialogThread(private val activity: FragmentActivity) {
|
|||||||
|
|
||||||
unBindService()
|
unBindService()
|
||||||
|
|
||||||
|
try {
|
||||||
activity.unregisterReceiver(databaseTaskBroadcastReceiver)
|
activity.unregisterReceiver(databaseTaskBroadcastReceiver)
|
||||||
|
} catch (e: IllegalArgumentException) {
|
||||||
|
// If receiver not register, do nothing
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Synchronized
|
@Synchronized
|
||||||
|
|||||||
Reference in New Issue
Block a user