diff --git a/src/store/modules/socketIOModule.js b/src/store/modules/socketIOModule.js index 92160ee..0862b0b 100644 --- a/src/store/modules/socketIOModule.js +++ b/src/store/modules/socketIOModule.js @@ -183,7 +183,7 @@ const actions = { // if (disableDesktopNotification === true) return // if (!isElectron || disableDesktopNotification === undefined) return; - if (isMobile) return; + if (isMobile()) return; if (isElectron && disableDesktopNotification === undefined) return sendNotification(); if (disableDesktopNotification !== undefined && disableDesktopNotification === false) return sendNotification()