mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-05-02 22:01:55 +00:00
Fixed: Now error messages are kept hidden if the show status inside the editor is disabled.
This commit is contained in:
@@ -21,6 +21,9 @@ export function paneGeneral(
|
||||
});
|
||||
this.addOnSaved("displayLanguage", () => this.display());
|
||||
new Setting(paneEl).autoWireToggle("showStatusOnEditor");
|
||||
this.addOnSaved("showStatusOnEditor", () => {
|
||||
eventHub.emitEvent(EVENT_ON_UNRESOLVED_ERROR);
|
||||
});
|
||||
new Setting(paneEl).autoWireToggle("showOnlyIconsOnEditor", {
|
||||
onUpdate: visibleOnly(() => this.isConfiguredAs("showStatusOnEditor", true)),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user