mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-27 22:56:24 +02:00
Fixes padding of the chat list elements.
This commit is contained in:
@@ -82,7 +82,7 @@ fun ChannelNamePreview() {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
supportingContent = {
|
supportingContent = {
|
||||||
Row(verticalAlignment = Alignment.CenterVertically) {
|
Row {
|
||||||
Text("This is a message from this person", Modifier.weight(1f))
|
Text("This is a message from this person", Modifier.weight(1f))
|
||||||
NewItemsBubble()
|
NewItemsBubble()
|
||||||
}
|
}
|
||||||
@@ -96,6 +96,8 @@ fun ChannelNamePreview() {
|
|||||||
)
|
)
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
HorizontalDivider(thickness = DividerThickness)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -38,7 +38,6 @@ import com.vitorpamplona.amethyst.ui.note.ChatroomHeaderCompose
|
|||||||
import com.vitorpamplona.amethyst.ui.screen.loggedIn.AccountViewModel
|
import com.vitorpamplona.amethyst.ui.screen.loggedIn.AccountViewModel
|
||||||
import com.vitorpamplona.amethyst.ui.theme.DividerThickness
|
import com.vitorpamplona.amethyst.ui.theme.DividerThickness
|
||||||
import com.vitorpamplona.amethyst.ui.theme.FeedPadding
|
import com.vitorpamplona.amethyst.ui.theme.FeedPadding
|
||||||
import com.vitorpamplona.amethyst.ui.theme.StdTopPadding
|
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun ChatroomListFeedView(
|
fun ChatroomListFeedView(
|
||||||
@@ -112,7 +111,6 @@ private fun FeedLoaded(
|
|||||||
}
|
}
|
||||||
|
|
||||||
HorizontalDivider(
|
HorizontalDivider(
|
||||||
modifier = StdTopPadding,
|
|
||||||
thickness = DividerThickness,
|
thickness = DividerThickness,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@@ -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 NotificationIconModifierSmaller = Modifier.width(55.dp).padding(end = 4.dp)
|
||||||
|
|
||||||
val ZapPictureCommentModifier = Modifier.height(35.dp).widthIn(min = 35.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 VolumeBottomIconSize = Modifier.size(70.dp).padding(10.dp)
|
||||||
val PinBottomIconSize = Modifier.size(70.dp).padding(10.dp)
|
val PinBottomIconSize = Modifier.size(70.dp).padding(10.dp)
|
||||||
|
Reference in New Issue
Block a user