[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>);
|
||||
}
|
||||
|
||||
if (this.state.showTrayIcon) {
|
||||
if (window.process.platform === 'linux' || window.process.platform === 'win32') {
|
||||
options.push(
|
||||
<FormGroup
|
||||
@@ -756,6 +757,7 @@ export default class SettingsPage extends React.PureComponent<Record<string, nev
|
||||
</FormGroup>,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if (window.process.platform === 'linux' || window.process.platform === 'win32') {
|
||||
options.push(
|
||||
|
Reference in New Issue
Block a user