From 20154e3f24e9a5ca4f3fb39c589874ed914aca77 Mon Sep 17 00:00:00 2001 From: krille-chan Date: Sat, 17 Feb 2024 07:47:55 +0100 Subject: [PATCH] chore: Follow up notification avatar --- lib/utils/push_helper.dart | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/utils/push_helper.dart b/lib/utils/push_helper.dart index 198c5c442..516c4e5da 100644 --- a/lib/utils/push_helper.dart +++ b/lib/utils/push_helper.dart @@ -171,8 +171,9 @@ Future _tryPushHelper( final avatar = event.room.avatar ?.getThumbnail( client, - width: 128, - height: 128, + width: 256, + height: 256, + method: ThumbnailMethod.scale, ) .toString(); final senderAvatar = event.room.isDirectChat @@ -180,8 +181,9 @@ Future _tryPushHelper( : event.senderFromMemoryOrFallback.avatarUrl ?.getThumbnail( client, - width: 128, - height: 128, + width: 256, + height: 256, + method: ThumbnailMethod.scale, ) .toString();