UserPicker: add top spacer above active profile card and tighten its left padding

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.
This commit is contained in:
another-simple-pixel committed 2026-05-18 01:56:49 -07:00
1 parent dd38646996
commit a15a2ca625
1 file changed
+2 -1
@@ -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)
}
}