[MM-26018] Added disclaimer for window flashing on Linux (#1927)

* [MM-26018] Added disclaimer for window flashing on Linux

* Update src/renderer/components/SettingsPage.tsx

Co-authored-by: Eric Sethna <eric@mattermost.com>

Co-authored-by: Eric Sethna <eric@mattermost.com>
This commit is contained in:
Devin Binnie 2021-12-23 16:50:19 -05:00 committed by GitHub
parent bd470459c2
commit 3ecdd3d1c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -558,6 +558,12 @@ export default class SettingsPage extends React.PureComponent<Record<string, nev
{'Flash app window and taskbar icon when a new message is received'}
<FormText>
{'If enabled, app window and taskbar icon flash for a few seconds when a new message is received.'}
{window.process.platform === 'linux' && (
<>
<br/>
<em><strong>{'NOTE: '}</strong>{'This functionality may not work with all Linux window managers.'}</em>
</>
)}
</FormText>
</FormCheck>);
}