ios: digital password (instead of device auth) (#2169)

* ios: digital password (instead of device auth)

* set, ask, change password

* kind of working, sometimes

* ZSTack

* fix cancel

* update title

* fix password showing after settings dismissed

* disable button when 16 digits entered

* fixes

* layout on larger screens

* do not disable auth when switching to system if system auth failed, refactor

* fix enabling auth via the initial alert

* support landscape orientation
This commit is contained in:
Evgeny Poberezkin
2023-04-12 12:22:55 +02:00
committed by GitHub
parent 1d16a19373
commit ec6cee1389
18 changed files with 743 additions and 76 deletions
+1
View File
@@ -21,6 +21,7 @@ final class ChatModel: ObservableObject {
@Published var chatDbChanged = false
@Published var chatDbEncrypted: Bool?
@Published var chatDbStatus: DBMigrationResult?
@Published var laRequest: LocalAuthRequest?
// list of chat "previews"
@Published var chats: [Chat] = []
// map of connections network statuses, key is agent connection id