Added last sync time to statusbar
Adds an item to the statusbar that displays the time of the last successful sync.
This commit is contained in:
@@ -197,6 +197,8 @@ class ChangeRemoteBaseDirModal extends Modal {
|
||||
button.onClick(async () => {
|
||||
this.plugin.settings[this.service].remoteBaseDir =
|
||||
this.newRemoteBaseDir;
|
||||
// reset last sync time
|
||||
this.plugin.settings.lastSuccessSync = -1;
|
||||
await this.plugin.saveSettings();
|
||||
new Notice(t("modal_remotebasedir_notice"));
|
||||
this.close();
|
||||
|
||||
Reference in New Issue
Block a user