ios: fix closing chat info (#725)
This commit is contained in:
committed by
GitHub
parent
47ec486201
commit
084d1d09a5
@@ -69,6 +69,7 @@ struct ContentView: View {
|
||||
}
|
||||
|
||||
private func justAuthenticate() {
|
||||
userAuthorized = false
|
||||
authenticate(reason: NSLocalizedString("Unlock", comment: "authentication reason")) { laResult in
|
||||
switch (laResult) {
|
||||
case .success:
|
||||
|
||||
@@ -49,10 +49,8 @@ struct SimpleXApp: App {
|
||||
enteredBackground = ProcessInfo.processInfo.systemUptime
|
||||
}
|
||||
doAuthenticate = false
|
||||
userAuthorized = false
|
||||
case .active:
|
||||
doAuthenticate = authenticationExpired()
|
||||
if !doAuthenticate { userAuthorized = true }
|
||||
default:
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user