mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
core: increment progress even if file exists
This commit is contained in:
committed by
Ammar Ahmed
parent
08296793f1
commit
da06184d51
@@ -37,6 +37,7 @@ export default class FileStorage {
|
||||
for (const file of files) {
|
||||
const { filename, metadata, chunkSize } = file;
|
||||
if (await this.exists(filename)) {
|
||||
current++;
|
||||
EV.publish(EVENTS.fileDownloaded, {
|
||||
success: true,
|
||||
groupId,
|
||||
|
||||
Reference in New Issue
Block a user