kopia lustrzana https://github.com/vitorpamplona/amethyst
Fixing alignment of the close button on Chat's reply preview
rodzic
d6ab376f2d
commit
0fad7b313b
|
@ -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,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue