From ab4b7fe12de6e42edc97e379659b78be15de9a39 Mon Sep 17 00:00:00 2001 From: supertiger1234 Date: Wed, 16 Oct 2019 10:57:50 +0100 Subject: [PATCH] fixed user error :facepalm: --- src/store/modules/socketIOModule.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()