Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #10578 from bsclifton/remove-prompt-toolbar-ui-scale
Browse files Browse the repository at this point in the history
Don't prompt for restart when changing Toolbar and UI element scale (…
  • Loading branch information
NejcZdovc authored Aug 18, 2017
2 parents 836d391 + f5a5c62 commit 1cf780b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/extensions/brave/locales/en-US/preferences.properties
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ enableMetamask=Enable MetaMask
useHardwareAcceleration=Use hardware acceleration when available *
useSmoothScroll=Enable smooth scrolling *
defaultZoomLevel=Default zoom level
toolbarUserInterfaceScale=Toolbar and UI elements scale *
toolbarUserInterfaceScale=Toolbar and UI elements scale
swipeNavigationDistance=Swipe Navigation Distance
short=Short
long=Long
Expand Down
3 changes: 1 addition & 2 deletions js/about/preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -821,8 +821,7 @@ class AboutPreferences extends React.Component {
settings.TORRENT_VIEWER_ENABLED,
settings.SMOOTH_SCROLL_ENABLED,
settings.SEND_CRASH_REPORTS,
settings.UPDATE_TO_PREVIEW_RELEASES,
settings.TOOLBAR_UI_SCALE
settings.UPDATE_TO_PREVIEW_RELEASES
]
if (settingsRequiringRestart.includes(key)) {
ipc.send(messages.PREFS_RESTART, key, value)
Expand Down

0 comments on commit 1cf780b

Please sign in to comment.