Toggle posts only & mark all mail as read.
This commit is contained in:
parent
83931e0085
commit
062ddda3d9
10 changed files with 83 additions and 22 deletions
|
@ -141,6 +141,9 @@ function update_notifications(model) {
|
|||
//update_favicon(has_notes ? "img/damus_notif.svg" : "img/damus.svg");
|
||||
update_notification_markers(count, "activity");
|
||||
update_notification_markers(dm_count, "dm");
|
||||
// slight hack :)
|
||||
find_node("#header-tools button[action='mark-all-read']")
|
||||
.disabled = dm_count == 0;
|
||||
}
|
||||
|
||||
async function get_pubkey(use_prompt=true) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue