Expand description
Provides desktop notification helpers using the GIO notification portal.
All functions are best-effort: if no running gio::Application is available,
the call is silently ignored. No notification is fired more than once per
concept per session – callers are responsible for the guard logic.
Statics§
- ENABLED 🔒
- Global kill-switch for desktop notifications, controlled by the user-facing “Enable Notifications” toggle in Settings → Behavior.
Functions§
- send_
connectivity_ lost - Fired once per session when consecutive uploads all fail due to connectivity issues.
- send_
gio 🔒 - Send a desktop notification via
gio::Notification. - send_
sync_ summary - Fired once when the upload queue drains after an active sync cycle.
- set_
enabled - Update the notifications enabled flag (called from config load and settings save).