Skip to content

Commit 85b65a9

Browse files
committed
align message to bottom rather than top, so that it can expand upwards (fixes #6791)
1 parent 2afc284 commit 85b65a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/src/commonMain/kotlin/de/westnordost/streetcomplete/screens/main/messages/UnreadMessagesDialog.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ private fun Envelope(
110110
) {
111111
Image(painterResource(Res.drawable.mail_back), null)
112112
if (opening > 0.5f) Image(openMailPainter(progress = opening), null)
113-
content()
113+
Box(Modifier.align(Alignment.BottomCenter).padding(bottom = 112.dp)) {
114+
content()
115+
}
114116
Image(painterResource(Res.drawable.mail_front), null)
115117
if (opening <= 0.5f) Image(openMailPainter(progress = opening), null)
116118
}

0 commit comments

Comments
 (0)