Reintroduce file chooser dialog for every attachment save

This commit is contained in:
Scott Nonnenberg 2020-01-15 14:23:02 -08:00 committed by Ken Powers
parent 1c906e76f9
commit 55eff02872
5 changed files with 74 additions and 39 deletions

View file

@ -119,8 +119,8 @@ function initializeMigrations({
getPath,
getStickersPath,
getTempPath,
openFileInDownloads,
writeToDownloads,
openFileInFolder,
saveAttachmentToDisk,
} = Attachments;
const {
getImageDimensions,
@ -189,13 +189,13 @@ function initializeMigrations({
loadPreviewData,
loadQuoteData,
loadStickerData,
openFileInDownloads,
openFileInFolder,
readAttachmentData,
readDraftData,
readStickerData,
readTempData,
run,
writeToDownloads,
saveAttachmentToDisk,
processNewAttachment: attachment =>
MessageType.processNewAttachment(attachment, {
writeNewAttachmentData,