web: fix inverted boolean on spam shortcut

This commit is contained in:
Bill Thiede 2024-04-29 21:04:56 -07:00
parent 48f66c7096
commit beb96aba14

View File

@ -854,7 +854,7 @@ fn thread(
IF!(show_icon_text=>span!["Spam"]),
ev(Ev::Click, move |_| Msg::MultiMsg(vec![
Msg::AddTag(format!("thread:{spam_thread_id}"), "Spam".to_string()),
Msg::SetUnread(format!("thread:{spam_thread_id}"), true)
Msg::SetUnread(format!("thread:{spam_thread_id}"), false)
])),
],
],