mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 23:56:43 +01:00
Fixing alignment of the close button on Chat's reply preview
This commit is contained in:
@@ -393,7 +393,6 @@ fun DisplayReplyingToNote(
|
|||||||
.heightIn(max = 100.dp)
|
.heightIn(max = 100.dp)
|
||||||
.verticalScroll(rememberScrollState())
|
.verticalScroll(rememberScrollState())
|
||||||
.animateContentSize(),
|
.animateContentSize(),
|
||||||
verticalAlignment = Alignment.CenterVertically,
|
|
||||||
) {
|
) {
|
||||||
if (replyingNote != null) {
|
if (replyingNote != null) {
|
||||||
Column(remember { Modifier.weight(1f) }) {
|
Column(remember { Modifier.weight(1f) }) {
|
||||||
@@ -408,9 +407,9 @@ fun DisplayReplyingToNote(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
Column(Modifier.padding(end = 10.dp)) {
|
Column(Modifier.padding(start = 5.dp)) {
|
||||||
IconButton(
|
IconButton(
|
||||||
modifier = Modifier.size(30.dp),
|
modifier = Modifier.size(20.dp),
|
||||||
onClick = onCancel,
|
onClick = onCancel,
|
||||||
) {
|
) {
|
||||||
Icon(
|
Icon(
|
||||||
@@ -418,8 +417,7 @@ fun DisplayReplyingToNote(
|
|||||||
null,
|
null,
|
||||||
modifier =
|
modifier =
|
||||||
Modifier
|
Modifier
|
||||||
.padding(end = 5.dp)
|
.size(20.dp),
|
||||||
.size(30.dp),
|
|
||||||
tint = MaterialTheme.colorScheme.placeholderText,
|
tint = MaterialTheme.colorScheme.placeholderText,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user