Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: reorder & invert sync toggles in settings

Abdullah Atta5747253400c9
diff --git a/apps/web/src/views/settings.js b/apps/web/src/views/settings.js
index d68a7b15e..2e141ea6b 100644
--- a/apps/web/src/views/settings.js
+++ b/apps/web/src/views/settings.js
@@ -435,25 +435,25 @@ function Settings() {
{groups.sync && (
<>
<Toggle
- title="Disable realtime sync in editor"
- onTip="You will have to manually open/close a note to see new changes."
- offTip="All changes in the editor will be synced & updated in realtime."
- onToggled={toggleRealtimeSync}
- isToggled={!isRealtimeSyncEnabled}
- />
- <Toggle
- title="Disable sync"
+ title="Enable sync"
onTip="All changes to or from this device won't be synced."
offTip="All changes to or from this device will be synced."
onToggled={toggleSync}
- isToggled={!isSyncEnabled}
+ isToggled={isSyncEnabled}
/>
<Toggle
- title="Disable auto sync"
+ title="Enable auto sync"
onTip="You will have to manually run the sync to transfer your changes to other devices."
offTip="All changes will automatically sync to your other device."
onToggled={toggleAutoSync}
- isToggled={!isAutoSyncEnabled}
+ isToggled={isAutoSyncEnabled}
+ />
+ <Toggle
+ title="Enable realtime sync in editor"
+ onTip="You will have to manually open/close a note to see new changes."
+ offTip="All changes in the editor will be synced & updated in realtime."
+ onToggled={toggleRealtimeSync}
+ isToggled={isRealtimeSyncEnabled}
/>
<Button variant="list" onClick={() => sync(true, true)}>
<Tip