From 0e749a99c9c08f68ba89a00ec14176b2497fb954 Mon Sep 17 00:00:00 2001 From: Diogo Date: Thu, 5 Sep 2024 17:12:42 +0100 Subject: [PATCH] paddings --- .../kotlin/chat/simplex/common/views/chatlist/UserPicker.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt index 2986062e40..7c0d91f7e1 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt @@ -141,7 +141,7 @@ private fun ActiveUserSection( val stopped = chatModel.chatRunning.value == false if (currentUser != null) { - Spacer(Modifier.height(DEFAULT_PADDING)) + Spacer(Modifier.height(DEFAULT_PADDING_HALF)) SectionView( title = stringResource(MR.strings.settings_section_title_you), ) { @@ -569,8 +569,6 @@ fun UserPicker( } } ) - - Spacer(Modifier.height(DEFAULT_PADDING_HALF)) } } } @@ -664,7 +662,7 @@ private fun DevicePickerRow( Modifier .fillMaxWidth() .sizeIn(minHeight = DEFAULT_MIN_SECTION_ITEM_HEIGHT) - .padding(start = DEFAULT_PADDING, end = DEFAULT_PADDING, bottom = DEFAULT_PADDING), + .padding(start = DEFAULT_PADDING, end = DEFAULT_PADDING, bottom = DEFAULT_PADDING, top = DEFAULT_PADDING_HALF), horizontalArrangement = Arrangement.spacedBy(12.dp), verticalAlignment = Alignment.CenterVertically ) {