mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-14 16:06:13 +00:00
close user picker on settings click in desktop
This commit is contained in:
@@ -583,6 +583,9 @@ fun UserPicker(
|
||||
val text = generalGetString(MR.strings.settings_section_title_settings).lowercase().capitalize(Locale.current)
|
||||
SectionItemView(
|
||||
click = {
|
||||
if (appPlatform.isDesktop) {
|
||||
userPickerState.value = AnimatedViewState.HIDING
|
||||
}
|
||||
ModalManager.start.showModalCloseable { close ->
|
||||
SettingsView(chatModel, setPerformLA, close)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user