mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-28 04:13:18 +01:00
Disable audio notifications on Windows 7 and lower
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import * as OS from '../OS';
|
||||
|
||||
const MIN_WINDOWS_VERSION = '8.0.0';
|
||||
|
||||
export const isAudioNotificationSupported = () =>
|
||||
OS.isWindows() || OS.isMacOS();
|
||||
OS.isWindows(MIN_WINDOWS_VERSION) || OS.isMacOS();
|
||||
|
||||
Reference in New Issue
Block a user