You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Fixed note sorting and changed colour of header
This commit is contained in:
@@ -159,14 +159,14 @@ reg.syncStarted = async () => {
|
||||
}
|
||||
|
||||
reg.setupRecurrentSync = () => {
|
||||
if (this.recurrentSyncId_) {
|
||||
PoorManIntervals.clearInterval(this.recurrentSyncId_);
|
||||
this.recurrentSyncId_ = null;
|
||||
if (reg.recurrentSyncId_) {
|
||||
PoorManIntervals.clearInterval(reg.recurrentSyncId_);
|
||||
reg.recurrentSyncId_ = null;
|
||||
}
|
||||
|
||||
console.info('Setting up recurrent sync with interval ' + Setting.value('sync.interval'));
|
||||
reg.logger().debug('Setting up recurrent sync with interval ' + Setting.value('sync.interval'));
|
||||
|
||||
this.recurrentSyncId_ = PoorManIntervals.setInterval(() => {
|
||||
reg.recurrentSyncId_ = PoorManIntervals.setInterval(() => {
|
||||
reg.logger().info('Running background sync on timer...');
|
||||
reg.scheduleSync(0);
|
||||
}, 1000 * Setting.value('sync.interval'));
|
||||
|
||||
Reference in New Issue
Block a user