fix: only load 256 max side avatar

Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
Infi 2023-10-19 22:29:45 +02:00
parent bbed593932
commit 3a54f4cb44
1 changed files with 1 additions and 1 deletions

View File

@ -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