mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
scale up room avatar
This commit is contained in:
parent
f902f255a4
commit
781235cb07
@ -62,7 +62,7 @@ export class InviteViewModel extends ViewModel {
|
||||
|
||||
get avatarUrl() {
|
||||
if (this._invite.avatarUrl) {
|
||||
const size = 32 * this.platform.devicePixelRatio;
|
||||
const size = 128 * this.platform.devicePixelRatio;
|
||||
return this._mediaRepository.mxcUrlThumbnail(this._invite.avatarUrl, size, size, "crop");
|
||||
}
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user