mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 08:15:09 +00:00
chore: Follow up notification avatar
This commit is contained in:
parent
e45101325f
commit
20154e3f24
1 changed files with 6 additions and 4 deletions
|
@ -171,8 +171,9 @@ Future<void> _tryPushHelper(
|
||||||
final avatar = event.room.avatar
|
final avatar = event.room.avatar
|
||||||
?.getThumbnail(
|
?.getThumbnail(
|
||||||
client,
|
client,
|
||||||
width: 128,
|
width: 256,
|
||||||
height: 128,
|
height: 256,
|
||||||
|
method: ThumbnailMethod.scale,
|
||||||
)
|
)
|
||||||
.toString();
|
.toString();
|
||||||
final senderAvatar = event.room.isDirectChat
|
final senderAvatar = event.room.isDirectChat
|
||||||
|
@ -180,8 +181,9 @@ Future<void> _tryPushHelper(
|
||||||
: event.senderFromMemoryOrFallback.avatarUrl
|
: event.senderFromMemoryOrFallback.avatarUrl
|
||||||
?.getThumbnail(
|
?.getThumbnail(
|
||||||
client,
|
client,
|
||||||
width: 128,
|
width: 256,
|
||||||
height: 128,
|
height: 256,
|
||||||
|
method: ThumbnailMethod.scale,
|
||||||
)
|
)
|
||||||
.toString();
|
.toString();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue