From e36f37707f062a7ed6649cb23b0aa4125b7e8431 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Sun, 17 Nov 2024 10:55:31 +0000 Subject: [PATCH] Desktop, Mobile, Cli: Deprecated OneDrive sync method Too slow, changes too often and as a result is unreliable. There is a risk of losing notes with this sync method. --- packages/app-desktop/gui/SyncWizard/Dialog.tsx | 2 +- packages/lib/SyncTargetOneDrive.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app-desktop/gui/SyncWizard/Dialog.tsx b/packages/app-desktop/gui/SyncWizard/Dialog.tsx index 3eac5e7b2..5afff05f0 100644 --- a/packages/app-desktop/gui/SyncWizard/Dialog.tsx +++ b/packages/app-desktop/gui/SyncWizard/Dialog.tsx @@ -121,7 +121,7 @@ const SlowSyncWarning = styled.div` const syncTargetNames: string[] = [ 'joplinCloud', 'dropbox', - 'onedrive', + // 'onedrive', 'nextcloud', 'webdav', 'amazon_s3', diff --git a/packages/lib/SyncTargetOneDrive.ts b/packages/lib/SyncTargetOneDrive.ts index e434127e4..df5a4b9b5 100644 --- a/packages/lib/SyncTargetOneDrive.ts +++ b/packages/lib/SyncTargetOneDrive.ts @@ -33,7 +33,7 @@ export default class SyncTargetOneDrive extends BaseSyncTarget { } public static label() { - return _('OneDrive'); + return `${_('OneDrive')} (Deprecated)`; } public static description() {