mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 12:53:18 +00:00
android, desktop: thread-safe terminal items and floating terminal improvements (#4992)
* android, desktop: thread-safe terminal items and floating terminal improvements * optimization
This commit is contained in:
1 parent
87fd642951
commit
193e17f7af
5 files changed
+71
-11
No files matched your search
@@ -199,7 +199,13 @@ private fun ApplicationScope.AppWindow(closedByError: MutableState<Boolean>) {
|
||||
768.dp)
|
||||
Window(state = cWindowState, onCloseRequest = { hiddenUntilRestart = true }, title = stringResource(MR.strings.chat_console)) {
|
||||
SimpleXTheme {
|
||||
TerminalView(ChatModel) { hiddenUntilRestart = true }
|
||||
TerminalView(true) { hiddenUntilRestart = true }
|
||||
ModalManager.floatingTerminal.showInView()
|
||||
DisposableEffect(Unit) {
|
||||
onDispose {
|
||||
ModalManager.floatingTerminal.closeModals()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user