From a15a2ca625936662c91191a30ac39ad35d392110 Mon Sep 17 00:00:00 2001 From: another-simple-pixel Date: Sun, 17 May 2026 08:19:05 -0700 Subject: [PATCH] UserPicker: add top spacer above active profile card and tighten its left padding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Card was flush against the sheet's top edge; add DEFAULT_PADDING spacer above. Left padding inside the card was 16dp while the avatar (60dp) sat in an 80dp minHeight row so visual top/bottom were ~10dp — bring start down to 10dp so the photo sits equidistant from card top, bottom and left. --- .../kotlin/chat/simplex/common/views/chatlist/UserPicker.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 54732aa3bd..d970d9d092 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 @@ -212,8 +212,9 @@ fun UserPicker( ) } } else if (currentUser != null) { + Spacer(Modifier.height(DEFAULT_PADDING)) SectionView { - SectionItemView({ onUserClicked(currentUser) }, 80.dp, padding = PaddingValues(start = 16.dp, end = DEFAULT_PADDING), disabled = stopped) { + SectionItemView({ onUserClicked(currentUser) }, 80.dp, padding = PaddingValues(start = 10.dp, end = DEFAULT_PADDING), disabled = stopped) { ProfilePreview(currentUser.profile, iconColor = iconColor, stopped = stopped) } }