mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 07:05:05 -04:00
!fixup this if working
This commit is contained in:
parent
0c2da78ed2
commit
da8178d72e
3 changed files with 312 additions and 311 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue