[MM-26016] Hide tray icon theme colour when tray icon not enabled (#2051)
This commit is contained in:
@@ -712,6 +712,7 @@ export default class SettingsPage extends React.PureComponent<Record<string, nev
|
|||||||
</FormCheck>);
|
</FormCheck>);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.state.showTrayIcon) {
|
||||||
if (window.process.platform === 'linux' || window.process.platform === 'win32') {
|
if (window.process.platform === 'linux' || window.process.platform === 'win32') {
|
||||||
options.push(
|
options.push(
|
||||||
<FormGroup
|
<FormGroup
|
||||||
@@ -756,6 +757,7 @@ export default class SettingsPage extends React.PureComponent<Record<string, nev
|
|||||||
</FormGroup>,
|
</FormGroup>,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (window.process.platform === 'linux' || window.process.platform === 'win32') {
|
if (window.process.platform === 'linux' || window.process.platform === 'win32') {
|
||||||
options.push(
|
options.push(
|
||||||
|
Reference in New Issue
Block a user