fix: messages now always max width, STB FAB no longer jumping on x-axis

This commit is contained in:
Infi 2023-01-30 00:57:51 +01:00
parent 023ac6e5cb
commit c2aa72c5b7
1 changed files with 3 additions and 1 deletions

View File

@ -54,7 +54,9 @@ fun Message(
val author = RevoltAPI.userCache[message.author] ?: return CircularProgressIndicator()
val context = LocalContext.current
Row(modifier = Modifier.padding(8.dp)) {
Row(modifier = Modifier
.padding(8.dp)
.fillMaxWidth()) {
if (author.avatar != null) {
RemoteImage(
url = "$REVOLT_FILES/avatars/${author.avatar.id!!}/user.png",