adding a check at dismissing Security Dialog

This commit is contained in:
tibbi 2021-02-19 18:42:42 +01:00
parent 9154e48796
commit 7cec6679cc
2 changed files with 4 additions and 2 deletions

View file

@ -6,7 +6,7 @@ buildscript {
propMinSdkVersion = 21
propTargetSdkVersion = propCompileSdkVersion
propVersionCode = 1
propVersionName = '5.33.33'
propVersionName = '5.33.34'
kotlin_version = '1.4.30'
}

View file

@ -73,7 +73,9 @@ class SecurityDialog(val activity: Activity, val requiredHash: String, val showT
override fun receivedHash(hash: String, type: Int) {
callback(hash, type, true)
dialog?.dismiss()
if (!activity.isFinishing) {
dialog?.dismiss()
}
}
private fun updateTabVisibility() {