Reintroduce file chooser dialog for every attachment save
This commit is contained in:
parent
1c906e76f9
commit
55eff02872
5 changed files with 74 additions and 39 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue