mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-25 20:44:38 +00:00
fix profile creation in desktop
This commit is contained in:
-7
@@ -51,13 +51,6 @@ fun UserProfilesView(m: ChatModel, search: MutableState<String>, profileHidden:
|
||||
addUser = {
|
||||
ModalManager.center.showModalCloseable { close ->
|
||||
CreateProfile(m, close)
|
||||
if (appPlatform.isDesktop) {
|
||||
// Hide settings to allow clicks to pass through to CreateProfile view
|
||||
DisposableEffectOnGone(always = { scope.launch { close.invoke() } }) {
|
||||
// Show settings again to allow intercept clicks to close modals after profile creation finishes
|
||||
//scope.launch(NonCancellable) { drawerState.open() }
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
activateUser = { user ->
|
||||
|
||||
Reference in New Issue
Block a user