From 7f3a624ee39b57e2e41bfd634f91881ba98a1d2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Thu, 29 Dec 2022 11:55:19 +0100 Subject: [PATCH] Hotfix for user button not working --- src/graphics/Screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/Screen.cpp b/src/graphics/Screen.cpp index 7b34aee55..6c09c89cc 100644 --- a/src/graphics/Screen.cpp +++ b/src/graphics/Screen.cpp @@ -1072,7 +1072,7 @@ int32_t Screen::runOnce() break; case Cmd::ON_PRESS: // If a nag notification is running, stop it - if (externalNotificationModule->nagCycleCutoff != UINT32_MAX) { + if (moduleConfig.external_notification.enabled && (externalNotificationModule->nagCycleCutoff != UINT32_MAX)) { externalNotificationModule->stopNow(); } else { // Don't advance the screen if we just wanted to switch off the nag notification