refactor: Reduce notification avatar size to 128

This commit is contained in:
krille-chan 2025-05-15 15:53:25 +02:00
commit 7b5a9c10c6
No known key found for this signature in database

View file

@ -165,8 +165,8 @@ Future<void> _tryPushHelper(
.downloadMxcCached( .downloadMxcCached(
avatar, avatar,
thumbnailMethod: ThumbnailMethod.crop, thumbnailMethod: ThumbnailMethod.crop,
width: 256, width: 128,
height: 256, height: 128,
animated: false, animated: false,
isThumbnail: true, isThumbnail: true,
rounded: true, rounded: true,
@ -184,8 +184,8 @@ Future<void> _tryPushHelper(
.downloadMxcCached( .downloadMxcCached(
senderAvatar, senderAvatar,
thumbnailMethod: ThumbnailMethod.crop, thumbnailMethod: ThumbnailMethod.crop,
width: 256, width: 128,
height: 256, height: 128,
animated: false, animated: false,
isThumbnail: true, isThumbnail: true,
rounded: true, rounded: true,