add koofr
This commit is contained in:
parent
272bc7a543
commit
a764e419e7
@ -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 =
|
||||||
|
|||||||
@ -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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user