mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-04-09 18:38:45 +00:00
### Fixed
- Fixed a bug that caused wrong event bindings and flag inversion (#727) - This caused following issues: - In some cases, settings changes were not applied or saved correctly. - Automatic synchronisation did not begin correctly. ### Improved - Too large diffs are not shown in the file comparison view, due to performance reasons.
This commit is contained in:
@@ -48,7 +48,7 @@ export class ModuleLiveSyncMain extends AbstractModule {
|
||||
}
|
||||
if (!(await this.core.services.appLifecycle.onFirstInitialise())) return false;
|
||||
// await this.core.$$realizeSettingSyncMode();
|
||||
await this.services.setting.onRealiseSetting();
|
||||
await this.services.setting.realiseSetting();
|
||||
fireAndForget(async () => {
|
||||
this._log($msg("moduleLiveSyncMain.logAdditionalSafetyScan"), LOG_LEVEL_VERBOSE);
|
||||
if (!(await this.services.appLifecycle.onScanningStartupIssues())) {
|
||||
@@ -67,7 +67,7 @@ export class ModuleLiveSyncMain extends AbstractModule {
|
||||
eventHub.emitEvent(EVENT_REQUEST_RELOAD_SETTING_TAB);
|
||||
});
|
||||
eventHub.onEvent(EVENT_SETTING_SAVED, (settings: ObsidianLiveSyncSettings) => {
|
||||
fireAndForget(() => this.core.services.setting.onRealiseSetting());
|
||||
fireAndForget(() => this.core.services.setting.realiseSetting());
|
||||
});
|
||||
return Promise.resolve(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user