Skip to content

General: Show hint to disable notification when extra notification is enabled#424

Merged
d4rken merged 1 commit intomainfrom
feat/monitor-notification-disable-hint
Mar 3, 2026
Merged

General: Show hint to disable notification when extra notification is enabled#424
d4rken merged 1 commit intomainfrom
feat/monitor-notification-disable-hint

Conversation

@d4rken
Copy link
Copy Markdown
Member

@d4rken d4rken commented Mar 3, 2026

What changed

When the "Extra notification" setting is enabled, the permanent "No device" notification now shows a hint telling users they can disable it in system settings. This helps users understand which notification channel to turn off to hide the persistent status notification while keeping the separate "Connected device" notification.

Technical Context

  • The hint only appears on the primary foreground notification (ID=1) when no device is detected and the extra notification setting is active
  • When a device is connected, the notification switches to the custom device view — the hint is not shown
  • Added a showHint parameter to getBuilder()/getNotification() with false default so existing callers (getStartupNotification, getNotificationConnected) are unaffected
  • Uses BigTextStyle.bigText() to display the hint as expandable body text under the "No device" title

@d4rken d4rken added the enhancement Add a new feature of improve an existing feature label Mar 3, 2026
@d4rken d4rken merged commit e13331d into main Mar 3, 2026
9 checks passed
@d4rken d4rken deleted the feat/monitor-notification-disable-hint branch March 3, 2026 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Add a new feature of improve an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant