mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-21 22:54:53 +08:00
!fixup this if working
This commit is contained in:
@@ -272,6 +272,8 @@ class PeersUI {
|
||||
descriptorInstructions = Localization.getTranslation("instructions.activate-share-mode-shared-file");
|
||||
}
|
||||
|
||||
files = await mime.addMissingMimeTypesToFiles(files);
|
||||
|
||||
if (files[0].type.split('/')[0] === 'image') {
|
||||
getResizedImageDataUrl(files[0], 80, null, 0.9)
|
||||
.then(dataUrl => {
|
||||
|
||||
Reference in New Issue
Block a user