fix: only load 256 max side avatar
Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
parent
bbed593932
commit
3a54f4cb44
|
|
@ -87,7 +87,7 @@ fun UserAvatar(
|
|||
) {
|
||||
if (avatar != null) {
|
||||
RemoteImage(
|
||||
url = rawUrl ?: "$REVOLT_FILES/avatars/${avatar.id!!}/user.png",
|
||||
url = rawUrl ?: "$REVOLT_FILES/avatars/${avatar.id!!}/user.png?max_side=256",
|
||||
contentScale = ContentScale.Crop,
|
||||
description = stringResource(id = R.string.avatar_alt, username),
|
||||
modifier = Modifier
|
||||
|
|
|
|||
Loading…
Reference in New Issue