Skip to content

Allow keeping "connected" notification after disconnect - #321

Merged
d4rken merged 1 commit into
mainfrom
hide-notification-319
Aug 31, 2025
Merged

d4rken merged 1 commit into
mainfrom
hide-notification-319

Conversation

@d4rken

@d4rken d4rken commented Aug 30, 2025

Copy link
Copy Markdown
Member

This commit introduces a new setting that allows users to keep the "connected" notification visible even after the monitored device disconnects.

When this setting is enabled and the "Extra notification" is also active, the MonitorWorker will no longer cancel the connected notification upon finishing. This provides users with the option to see the last known battery levels after disconnection.

A new preference keepConnectedNotificationAfterDisconnect is added to GeneralSettings and the UI.

Closes #319

This commit introduces a new setting that allows users to keep the "connected" notification visible even after the monitored device disconnects.

When this setting is enabled and the "Extra notification" is also active, the `MonitorWorker` will no longer cancel the connected notification upon finishing. This provides users with the option to see the last known battery levels after disconnection.

A new preference `keepConnectedNotificationAfterDisconnect` is added to `GeneralSettings` and the UI.
@d4rken d4rken added the enhancement Add a new feature of improve an existing feature label Aug 30, 2025
@d4rken
d4rken merged commit 2edf541 into main Aug 31, 2025
13 checks passed
@d4rken
d4rken deleted the hide-notification-319 branch August 31, 2025 08:11
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.

« connected device » notification always shown, even when device is disconnected.

1 participant