Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
690f56945a | ||
|
|
a764e419e7 |
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "remotely-save",
|
"id": "remotely-save",
|
||||||
"name": "Remotely Save",
|
"name": "Remotely Save",
|
||||||
"version": "0.5.7",
|
"version": "0.5.8",
|
||||||
"minAppVersion": "0.13.21",
|
"minAppVersion": "0.13.21",
|
||||||
"description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.",
|
"description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.",
|
||||||
"author": "fyears",
|
"author": "fyears",
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "remotely-save",
|
"id": "remotely-save",
|
||||||
"name": "Remotely Save",
|
"name": "Remotely Save",
|
||||||
"version": "0.5.7",
|
"version": "0.5.8",
|
||||||
"minAppVersion": "0.13.21",
|
"minAppVersion": "0.13.21",
|
||||||
"description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.",
|
"description": "Yet another unofficial plugin allowing users to synchronize notes between local device and the cloud service.",
|
||||||
"author": "fyears",
|
"author": "fyears",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "remotely-save",
|
"name": "remotely-save",
|
||||||
"version": "0.5.7",
|
"version": "0.5.8",
|
||||||
"description": "This is yet another sync plugin for Obsidian app.",
|
"description": "This is yet another sync plugin for Obsidian app.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev2": "node esbuild.config.mjs --watch",
|
"dev2": "node esbuild.config.mjs --watch",
|
||||||
|
|||||||
+4
-1
@@ -1797,6 +1797,9 @@ export default class RemotelySavePlugin extends Plugin {
|
|||||||
) {
|
) {
|
||||||
if (this.statusBarElement === undefined) return;
|
if (this.statusBarElement === undefined) return;
|
||||||
|
|
||||||
|
// console.debug(lastSuccessSyncMillis);
|
||||||
|
// console.debug(lastFailedSyncMillis);
|
||||||
|
|
||||||
const t = (x: TransItemType, vars?: any) => {
|
const t = (x: TransItemType, vars?: any) => {
|
||||||
return this.i18n.t(x, vars);
|
return this.i18n.t(x, vars);
|
||||||
};
|
};
|
||||||
@@ -1811,7 +1814,7 @@ export default class RemotelySavePlugin extends Plugin {
|
|||||||
const isSuccess =
|
const isSuccess =
|
||||||
(lastSuccessSyncMillis ?? -999) >= (lastFailedSyncMillis ?? -999);
|
(lastSuccessSyncMillis ?? -999) >= (lastFailedSyncMillis ?? -999);
|
||||||
|
|
||||||
if (lastSuccessSyncMillis === -1) {
|
if (this.isSyncing) {
|
||||||
// magic number
|
// magic number
|
||||||
// otherwise how can we know we are syncing??
|
// otherwise how can we know we are syncing??
|
||||||
lastSyncMsg =
|
lastSyncMsg =
|
||||||
|
|||||||
+1
-1
@@ -1898,7 +1898,7 @@ export class RemotelySaveSettingTab extends PluginSettingTab {
|
|||||||
"yandexdisk",
|
"yandexdisk",
|
||||||
t("settings_chooseservice_yandexdisk")
|
t("settings_chooseservice_yandexdisk")
|
||||||
);
|
);
|
||||||
// dropdown.addOption("koofr", t("settings_chooseservice_koofr"));
|
dropdown.addOption("koofr", t("settings_chooseservice_koofr"));
|
||||||
|
|
||||||
dropdown
|
dropdown
|
||||||
.setValue(this.plugin.settings.serviceType)
|
.setValue(this.plugin.settings.serviceType)
|
||||||
|
|||||||
Reference in New Issue
Block a user