android paddings

This commit is contained in:
Diogo
2024-09-05 11:13:18 +01:00
parent b993c24be6
commit 0db7ab964b
@@ -143,7 +143,7 @@ private fun ActiveUserSection(
val stopped = chatModel.chatRunning.value == false
if (currentUser != null) {
Spacer(Modifier.height(if (appPlatform.isAndroid) DEFAULT_PADDING_HALF else 0.dp))
Spacer(Modifier.height(DEFAULT_PADDING))
SectionView(
title = stringResource(MR.strings.settings_section_title_you),
) {
@@ -545,7 +545,7 @@ fun UserPicker(
val currentRemoteHost = remember { chatModel.currentRemoteHost }.value
Column(
Modifier
.padding(vertical = DEFAULT_PADDING_HALF)
.padding(vertical = DEFAULT_PADDING)
) {
if (remoteHosts.isNotEmpty()) {
val localDeviceActive = currentRemoteHost == null && chatModel.localUserCreated.value == true
@@ -717,7 +717,7 @@ private fun DevicePickerRow(
Modifier
.fillMaxWidth()
.sizeIn(minHeight = DEFAULT_MIN_SECTION_ITEM_HEIGHT)
.padding(start = DEFAULT_PADDING, end = DEFAULT_PADDING),
.padding(start = DEFAULT_PADDING, end = DEFAULT_PADDING, bottom = DEFAULT_PADDING),
horizontalArrangement = Arrangement.spacedBy(12.dp),
verticalAlignment = Alignment.CenterVertically
) {