refactor: Reduce notification avatar size to 128

pull/1862/head
krille-chan 6 months ago
parent d656e23472
commit 7b5a9c10c6
No known key found for this signature in database

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

Loading…
Cancel
Save