adding a check at dismissing Security Dialog
This commit is contained in:
parent
9154e48796
commit
7cec6679cc
2 changed files with 4 additions and 2 deletions
|
@ -6,7 +6,7 @@ buildscript {
|
|||
propMinSdkVersion = 21
|
||||
propTargetSdkVersion = propCompileSdkVersion
|
||||
propVersionCode = 1
|
||||
propVersionName = '5.33.33'
|
||||
propVersionName = '5.33.34'
|
||||
kotlin_version = '1.4.30'
|
||||
}
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue