mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-18 15:22:16 +00:00
Remove duplicate instruction
This commit is contained in:
@@ -278,8 +278,6 @@ class PeersUI {
|
|||||||
descriptorInstructions = Localization.getTranslation("instructions.activate-share-mode-shared-file");
|
descriptorInstructions = Localization.getTranslation("instructions.activate-share-mode-shared-file");
|
||||||
}
|
}
|
||||||
|
|
||||||
files = await mime.addMissingMimeTypesToFiles(files);
|
|
||||||
|
|
||||||
if (files[0].type.split('/')[0] === 'image') {
|
if (files[0].type.split('/')[0] === 'image') {
|
||||||
try {
|
try {
|
||||||
let imageUrl = await getThumbnailAsDataUrl(files[0], 80, null, 0.9);
|
let imageUrl = await getThumbnailAsDataUrl(files[0], 80, null, 0.9);
|
||||||
|
|||||||
Reference in New Issue
Block a user