mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 00:49:44 +00:00
Show the lock screen placeholder on willResignActive. (#2086)
This commit is contained in:
@@ -187,7 +187,9 @@ class MockScreen: Identifiable {
|
||||
context: context)
|
||||
|
||||
if id == .appLockFlowAlternateWindow {
|
||||
guard case .success = appLockService.setupPINCode("2023") else {
|
||||
let pinCode = "2023"
|
||||
guard case .success = appLockService.setupPINCode(pinCode),
|
||||
appLockService.unlock(with: pinCode) else {
|
||||
fatalError("Failed to preset the PIN code.")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user