Remove banner notification, we display the icon immediately

This commit is contained in:
Jason P
2025-12-27 21:13:33 -06:00
parent fbd866fda3
commit 4c27c84b5f

View File

@@ -884,8 +884,7 @@ void menuHandler::homeBaseMenu()
if (moduleConfig.external_notification.enabled && externalNotificationModule) {
bool isMuted = externalNotificationModule->getMute();
externalNotificationModule->setMute(!isMuted);
IF_SCREEN(graphics::isMuted = !isMuted; if (!isMuted) externalNotificationModule->stopNow();
screen->showSimpleBanner(isMuted ? "Notifications\nEnabled" : "Notifications\nDisabled", 3000);)
IF_SCREEN(graphics::isMuted = !isMuted; if (!isMuted) externalNotificationModule->stopNow();)
}
} else if (selected == Backlight) {
screen->setOn(false);