Public Access
Notifier: queue up to 8 Toasts so a burst of 5 isn't trimmed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EhqxQ49eCju4CzKYNjZzwT
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ class Notifier {
|
|||||||
void alert(NotificationLevel level, uint32_t nowMs);
|
void alert(NotificationLevel level, uint32_t nowMs);
|
||||||
|
|
||||||
const Settings& settings_;
|
const Settings& settings_;
|
||||||
ToastQueue toasts_{3000};
|
ToastQueue toasts_{3000, 8};
|
||||||
uint32_t ledOffAtMs_ = 0;
|
uint32_t ledOffAtMs_ = 0;
|
||||||
bool ledOn_ = false;
|
bool ledOn_ = false;
|
||||||
uint32_t alertedId_ = 0;
|
uint32_t alertedId_ = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user