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;
|
||||
|
||||
// console.debug(lastSuccessSyncMillis);
|
||||
// console.debug(lastFailedSyncMillis);
|
||||
|
||||
const t = (x: TransItemType, vars?: any) => {
|
||||
return this.i18n.t(x, vars);
|
||||
};
|
||||
@ -1811,7 +1814,7 @@ export default class RemotelySavePlugin extends Plugin {
|
||||
const isSuccess =
|
||||
(lastSuccessSyncMillis ?? -999) >= (lastFailedSyncMillis ?? -999);
|
||||
|
||||
if (lastSuccessSyncMillis === -1) {
|
||||
if (this.isSyncing) {
|
||||
// magic number
|
||||
// otherwise how can we know we are syncing??
|
||||
lastSyncMsg =
|
||||
|
||||
@ -1898,7 +1898,7 @@ export class RemotelySaveSettingTab extends PluginSettingTab {
|
||||
"yandexdisk",
|
||||
t("settings_chooseservice_yandexdisk")
|
||||
);
|
||||
// dropdown.addOption("koofr", t("settings_chooseservice_koofr"));
|
||||
dropdown.addOption("koofr", t("settings_chooseservice_koofr"));
|
||||
|
||||
dropdown
|
||||
.setValue(this.plugin.settings.serviceType)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user