mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-05 17:36:34 +00:00

This commit adds Workspaces to the list of data types that can be synced. This introduces the following changes: - Adds a new preference `services.sync.engine.workspaces` to control syncing of Workspaces. - Updates the `syncChooseWhatToSync.js` and `syncChooseWhatToSync.xhtml` files to include the new Workspaces option in the UI. - Adds relevant localization strings to `preferences-ftl`. - Updates CSS styling for the Workspaces option. - Updates `zen-browser.js` to disable Workspace syncing by default. This change allows users to choose whether to sync their Workspaces across devices.
18 lines
745 B
C++
18 lines
745 B
C++
diff --git a/browser/components/preferences/dialogs/syncChooseWhatToSync.xhtml b/browser/components/preferences/dialogs/syncChooseWhatToSync.xhtml
|
|
index 83bd09c0c3f8fd5febf1721e6b462ca90e54327b..71c9e8e4056edaeb354cf7844494bd83c2089561 100644
|
|
--- a/browser/components/preferences/dialogs/syncChooseWhatToSync.xhtml
|
|
+++ b/browser/components/preferences/dialogs/syncChooseWhatToSync.xhtml
|
|
@@ -82,6 +82,12 @@
|
|
preference="services.sync.engine.prefs"
|
|
/>
|
|
</html:div>
|
|
+ <html:div class="sync-engine-workspaces">
|
|
+ <checkbox
|
|
+ data-l10n-id="sync-engine-workspaces"
|
|
+ preference="services.sync.engine.workspaces"
|
|
+ />
|
|
+ </html:div>
|
|
</html:div>
|
|
</dialog>
|
|
</window>
|