From 28695fb8e6b299389347fc8c42f7dc3923b42f24 Mon Sep 17 00:00:00 2001 From: Hyphen Date: Wed, 2 Sep 2020 19:50:48 +0200 Subject: Add the Anti Dopamine feature --- templates/notification.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates/notification.tmpl') diff --git a/templates/notification.tmpl b/templates/notification.tmpl index b1855a6..227bc57 100644 --- a/templates/notification.tmpl +++ b/templates/notification.tmpl @@ -3,7 +3,9 @@
Notifications - {{if gt .UnreadCount 0}}({{.UnreadCount }}){{end}} + {{if and (not $.Ctx.AntiDopamineMode) (gt .UnreadCount 0)}} + ({{.UnreadCount }}) + {{end}}
refresh {{if .ReadID}} -- cgit v1.2.3