fix: messages now always max width, STB FAB no longer jumping on x-axis
This commit is contained in:
parent
023ac6e5cb
commit
c2aa72c5b7
|
|
@ -54,7 +54,9 @@ fun Message(
|
||||||
val author = RevoltAPI.userCache[message.author] ?: return CircularProgressIndicator()
|
val author = RevoltAPI.userCache[message.author] ?: return CircularProgressIndicator()
|
||||||
val context = LocalContext.current
|
val context = LocalContext.current
|
||||||
|
|
||||||
Row(modifier = Modifier.padding(8.dp)) {
|
Row(modifier = Modifier
|
||||||
|
.padding(8.dp)
|
||||||
|
.fillMaxWidth()) {
|
||||||
if (author.avatar != null) {
|
if (author.avatar != null) {
|
||||||
RemoteImage(
|
RemoteImage(
|
||||||
url = "$REVOLT_FILES/avatars/${author.avatar.id!!}/user.png",
|
url = "$REVOLT_FILES/avatars/${author.avatar.id!!}/user.png",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue