Skip to content

Commit

Permalink
Merge pull request #2072 from meshtastic/hotfix-01
Browse files Browse the repository at this point in the history
Hotfix for user button not working
  • Loading branch information
thebentern authored Dec 29, 2022
2 parents 475c87b + 7f3a624 commit e09b12c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphics/Screen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e09b12c

Please sign in to comment.