[MM-48080] Update tray icon instantly when the settings change (#2376)
* Update wording and update tray icon instantly when the settings change * Add tests * Include new file
This commit is contained in:
@@ -633,7 +633,7 @@ class SettingsPage extends React.PureComponent<Props, State> {
|
||||
options.push(
|
||||
<div
|
||||
style={settingsPage.container}
|
||||
key='containerInputSpellchekerURL'
|
||||
key='containerInputSpellcheckerURL'
|
||||
>
|
||||
<input
|
||||
disabled={!this.state.useSpellChecker}
|
||||
@@ -855,8 +855,8 @@ class SettingsPage extends React.PureComponent<Props, State> {
|
||||
style={{marginLeft: '20px'}}
|
||||
>
|
||||
<FormattedMessage
|
||||
id='renderer.components.settingsPage.trayIcon.theme'
|
||||
defaultMessage='Icon theme: '
|
||||
id='renderer.components.settingsPage.trayIcon.color'
|
||||
defaultMessage='Icon color: '
|
||||
/>
|
||||
{window.process.platform === 'win32' &&
|
||||
<>
|
||||
|
Reference in New Issue
Block a user