Disable audio notifications on Windows 7 and lower
parent
a102016ed8
commit
ecf23b6b2e
@ -1,4 +1,6 @@
|
|||||||
import * as OS from '../OS';
|
import * as OS from '../OS';
|
||||||
|
|
||||||
|
const MIN_WINDOWS_VERSION = '8.0.0';
|
||||||
|
|
||||||
export const isAudioNotificationSupported = () =>
|
export const isAudioNotificationSupported = () =>
|
||||||
OS.isWindows() || OS.isMacOS();
|
OS.isWindows(MIN_WINDOWS_VERSION) || OS.isMacOS();
|
||||||
|
Loading…
Reference in New Issue