You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-14 23:26:58 +02:00
Sync in background for RN
This commit is contained in:
@@ -6,6 +6,7 @@ import { ActionButton } from 'lib/components/action-button.js';
|
||||
import { Folder } from 'lib/models/folder.js'
|
||||
import { BaseModel } from 'lib/base-model.js'
|
||||
import { ScreenHeader } from 'lib/components/screen-header.js';
|
||||
import { reg } from 'lib/registry.js';
|
||||
import { NotesScreenUtils } from 'lib/components/screens/notes-utils.js'
|
||||
import { BaseScreenComponent } from 'lib/components/base-screen.js';
|
||||
import { dialogs } from 'lib/dialogs.js';
|
||||
@@ -69,6 +70,8 @@ class FolderScreenComponent extends BaseScreenComponent {
|
||||
duplicateCheck: true,
|
||||
reservedTitleCheck: true,
|
||||
});
|
||||
|
||||
reg.scheduleSync();
|
||||
} catch (error) {
|
||||
dialogs.error(this, _('The folder could not be saved: %s', error.message));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user