Fixes padding of the chat list elements.

This commit is contained in:
Vitor Pamplona
2024-05-22 17:45:18 -04:00
parent 566ca0e390
commit 6538cbd9da
3 changed files with 4 additions and 4 deletions

View File

@@ -82,7 +82,7 @@ fun ChannelNamePreview() {
}
},
supportingContent = {
Row(verticalAlignment = Alignment.CenterVertically) {
Row {
Text("This is a message from this person", Modifier.weight(1f))
NewItemsBubble()
}
@@ -96,6 +96,8 @@ fun ChannelNamePreview() {
)
},
)
HorizontalDivider(thickness = DividerThickness)
}
}

View File

@@ -38,7 +38,6 @@ import com.vitorpamplona.amethyst.ui.note.ChatroomHeaderCompose
import com.vitorpamplona.amethyst.ui.screen.loggedIn.AccountViewModel
import com.vitorpamplona.amethyst.ui.theme.DividerThickness
import com.vitorpamplona.amethyst.ui.theme.FeedPadding
import com.vitorpamplona.amethyst.ui.theme.StdTopPadding
@Composable
fun ChatroomListFeedView(
@@ -112,7 +111,6 @@ private fun FeedLoaded(
}
HorizontalDivider(
modifier = StdTopPadding,
thickness = DividerThickness,
)
}

View File

@@ -169,7 +169,7 @@ val NotificationIconModifier = Modifier.width(55.dp).padding(end = 5.dp)
val NotificationIconModifierSmaller = Modifier.width(55.dp).padding(end = 4.dp)
val ZapPictureCommentModifier = Modifier.height(35.dp).widthIn(min = 35.dp)
val ChatHeadlineBorders = Modifier.padding(start = 12.dp, end = 12.dp, top = 10.dp)
val ChatHeadlineBorders = StdPadding
val VolumeBottomIconSize = Modifier.size(70.dp).padding(10.dp)
val PinBottomIconSize = Modifier.size(70.dp).padding(10.dp)