mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-08-03 10:46:12 +00:00
Per-channel notification settings via long-press context menu
Long-pressing ENTER on a channel in the channel picker opens a 2-item context menu: "Mark all read" and "Notif: default/OFF/ON". Muted channels still increment the unread counter silently; force-ON overrides global buzzer mute. Settings persist to flash via NodePrefs (ch_notif_override / ch_notif_muted bitmasks). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
aa99b77de4
commit
a26bde6ce5
@@ -40,4 +40,6 @@ struct NodePrefs { // persisted to file
|
||||
uint16_t low_batt_mv; // auto-shutdown threshold: 0=disabled, 3000-3500 mV
|
||||
uint8_t batt_display_mode; // 0=icon, 1=percent, 2=voltage
|
||||
char custom_msgs[10][140]; // user-defined quick messages (supports {loc}, {time})
|
||||
uint64_t ch_notif_override; // bitmask: bit i = channel i has explicit notification setting
|
||||
uint64_t ch_notif_muted; // bitmask: bit i = channel i muted (only if override bit set)
|
||||
};
|
||||
Reference in New Issue
Block a user