mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-26 01:04:30 +00:00
ServersSummaryView: wrap "Showing info for" dropdown in SectionView card
The user-selection ExposedDropDownSettingRow at the top of the servers info screen was rendered loose on the canvas with no card chrome. Wrap in SectionView so it reads as a card matching the rest of the screen. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
+12
-10
@@ -815,16 +815,18 @@ fun ModalData.ServersSummaryView(rh: RemoteHostInfo?, serversSummary: MutableSta
|
||||
) {
|
||||
Spacer(Modifier.height(DEFAULT_PADDING))
|
||||
if (showUserSelection) {
|
||||
ExposedDropDownSettingRow(
|
||||
generalGetString(MR.strings.servers_info_target),
|
||||
userOptions,
|
||||
selectedUserCategory,
|
||||
icon = null,
|
||||
enabled = remember { mutableStateOf(true) },
|
||||
onSelected = {
|
||||
selectedUserCategory.value = it
|
||||
}
|
||||
)
|
||||
SectionView {
|
||||
ExposedDropDownSettingRow(
|
||||
generalGetString(MR.strings.servers_info_target),
|
||||
userOptions,
|
||||
selectedUserCategory,
|
||||
icon = null,
|
||||
enabled = remember { mutableStateOf(true) },
|
||||
onSelected = {
|
||||
selectedUserCategory.value = it
|
||||
}
|
||||
)
|
||||
}
|
||||
SectionDividerSpaced()
|
||||
}
|
||||
when (index) {
|
||||
|
||||
Reference in New Issue
Block a user