Commit e394445f authored by topjohnwu's avatar topjohnwu

Properly handle dialog dismiss for SafetyNet

Fix #3103
parent ca1b0bf1
...@@ -123,6 +123,9 @@ class CheckSafetyNetEvent( ...@@ -123,6 +123,9 @@ class CheckSafetyNetEvent(
titleRes = android.R.string.cancel titleRes = android.R.string.cancel
onClick { callback(SafetyNetResult(dismiss = true)) } onClick { callback(SafetyNetResult(dismiss = true)) }
} }
.onDismiss {
callback(SafetyNetResult(dismiss = true))
}
.reveal() .reveal()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment