diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/App.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/App.kt index 8ca0da0d21..ea392e97c1 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/App.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/App.kt @@ -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()