diff --git a/app/extensions/brave/locales/en-US/preferences.properties b/app/extensions/brave/locales/en-US/preferences.properties index 1084a23fa29..e57ef5c0099 100644 --- a/app/extensions/brave/locales/en-US/preferences.properties +++ b/app/extensions/brave/locales/en-US/preferences.properties @@ -31,6 +31,7 @@ syncTitleMessage=Sync encrypted browser data between your devices securely and p syncEnable=Sync this device syncData=Sync Data syncDataMessage=Sync the following data from this device: +syncDeviceName=Device name syncBookmarks=Bookmarks syncHistory=Browsing history syncSiteSettings=Saved site settings @@ -44,7 +45,7 @@ syncHideQR=Hide QR code syncNewDevice3=If asks you to enter code words, type in the words below. syncShowPassphrase=Show secret code words. (Do not share!) syncHidePassphrase=Hide code words -syncDeviceName=Enter an optional name for this device: +syncDeviceNameInput=Enter an optional name for this device: syncCreate=Set up sync syncEnterPassphrase=Enter your sync code words: accountBalance=account balance diff --git a/app/renderer/components/preferences/syncTab.js b/app/renderer/components/preferences/syncTab.js index 25a7b1b223e..b57b489fcae 100644 --- a/app/renderer/components/preferences/syncTab.js +++ b/app/renderer/components/preferences/syncTab.js @@ -11,7 +11,7 @@ const niceware = require('niceware') // Components const ModalOverlay = require('../../../../js/components/modalOverlay') const Button = require('../../../../js/components/button') -const {DeviceNameTextbox} = require('../textbox') +const {SettingsList, SettingItem} = require('../settings') const aboutActions = require('../../../../js/about/aboutActions') const getSetting = require('../../../../js/settings').getSetting @@ -35,7 +35,7 @@ class SyncTab extends ImmutableComponent { get setupContent () { // displayed before a sync userId has been created - return
+ return
@@ -43,11 +43,20 @@ class SyncTab extends ImmutableComponent { get postSetupContent () { const {SettingCheckbox} = require('../../../../js/about/preferences') - return
- -
-
+ return +
+ +
+ +
+ {getSetting(settings.SYNC_DEVICE_NAME, this.props.settings)} +
+
+
+ +
+
: