[MM-44023] Remove Settings window flash, change wording on Settings page (#2088)
This commit is contained in:
@@ -348,7 +348,6 @@ describe('main/windows/windowManager', () => {
|
||||
value: originalPlatform,
|
||||
});
|
||||
expect(windowManager.mainWindow.flashFrame).toBeCalledWith(true);
|
||||
expect(windowManager.settingsWindow.flashFrame).toBeCalledWith(true);
|
||||
});
|
||||
|
||||
it('mac - should not bounce icon when config item is not set', () => {
|
||||
|
@@ -280,10 +280,6 @@ export class WindowManager {
|
||||
if (process.platform === 'linux' || process.platform === 'win32') {
|
||||
if (Config.notifications.flashWindow) {
|
||||
this.mainWindow?.flashFrame(flash);
|
||||
if (this.settingsWindow) {
|
||||
// main might be hidden behind the settings
|
||||
this.settingsWindow.flashFrame(flash);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (process.platform === 'darwin' && Config.notifications.bounceIcon) {
|
||||
|
@@ -629,9 +629,9 @@ export default class SettingsPage extends React.PureComponent<Record<string, nev
|
||||
checked={!this.state.notifications || this.state.notifications.flashWindow === 2}
|
||||
onChange={this.handleFlashWindow}
|
||||
/>
|
||||
{'Flash app window and taskbar icon when a new message is received'}
|
||||
{'Flash 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.'}
|
||||
{'If enabled, the taskbar icon will flash for a few seconds when a new message is received.'}
|
||||
{window.process.platform === 'linux' && (
|
||||
<>
|
||||
<br/>
|
||||
|
Reference in New Issue
Block a user