This commit is contained in:
schlagmichdoch 2024-11-11 19:40:01 +00:00 committed by GitHub
commit f6bbc3f9e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 170 additions and 52 deletions

View file

@ -281,10 +281,8 @@ class PeersUI {
if (files[0].type.split('/')[0] === 'image') {
try {
let imageUrl = await getThumbnailAsDataUrl(files[0], 80, null, 0.9);
let imageUrl = await getThumbnailAsDataUrl(files[0], 80, 80, 0.9);
this.$shareModeImageThumb.style.backgroundImage = `url(${imageUrl})`;
this.$shareModeImageThumb.removeAttribute('hidden');
} catch (e) {
console.error(e);