mobile: close modal views (#715)

This commit is contained in:
JRoberts
2022-05-31 20:55:19 +04:00
committed by GitHub
parent 0bb5774ff1
commit 15ddefe86b
5 changed files with 26 additions and 21 deletions
+1
View File
@@ -14,6 +14,7 @@ import WebKit
final class ChatModel: ObservableObject {
@Published var onboardingStage: OnboardingStage?
@Published var currentUser: User?
@Published var showChatInfo: Bool = false // TODO comprehensively close modal views on authentication
// list of chat "previews"
@Published var chats: [Chat] = []
// current chat