Skip to content

Commit

Permalink
feat: rename backup files to mention their importing capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsvg committed Jul 22, 2020
1 parent 8b486a6 commit 207890d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/assets/javascripts/services/archiveManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class ArchiveManager {
}
const data = await this.__itemsData(items, keys, authParams);
this.__downloadData(data,
`Standard Notes Encrypted Backup - ${this.__formattedDate()}.txt`);
`Standard Notes Encrypted Backup and Import File - ${this.__formattedDate()}.txt`);
} else {
this.__downloadZippedItems(items);
}
Expand Down Expand Up @@ -92,7 +92,7 @@ export class ArchiveManager {
await new Promise((resolve) => {
const blob = new Blob([data], {type: 'text/plain'});
zipWriter.add(
`Standard Notes Backup - ${this.__formattedDate()}.txt`.replace(/:/g, ' '),
'Standard Notes Backup and Import File.txt',
new zip.BlobReader(blob),
resolve
);
Expand Down

0 comments on commit 207890d

Please sign in to comment.