mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-02 11:24:18 +00:00
fix
This commit is contained in:
@@ -158,7 +158,9 @@ fun MainScreen() {
|
||||
showChatDatabaseError -> {
|
||||
// Prevent showing keyboard on Android when: passcode enabled and database password not saved
|
||||
if (!unauthorized.value && chatModel.chatDbStatus.value != null) {
|
||||
DatabaseErrorView(chatModel.chatDbStatus, chatModel.controller.appPrefs)
|
||||
CompositionLocalProvider(LocalAppBarHandler provides remember { AppBarHandler() }) {
|
||||
DatabaseErrorView(chatModel.chatDbStatus, chatModel.controller.appPrefs)
|
||||
}
|
||||
}
|
||||
}
|
||||
remember { chatModel.chatDbEncrypted }.value == null || localUserCreated == null -> SplashView()
|
||||
|
||||
Reference in New Issue
Block a user