mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Silence summary notification when no new messages
This commit is contained in:
parent
68427ca6f1
commit
78cf6bef12
1 changed files with 2 additions and 0 deletions
|
@ -5877,6 +5877,8 @@ class Core {
|
|||
|
||||
if (notify_summary) {
|
||||
builder.setOnlyAlertOnce(new_messages <= 0);
|
||||
if (new_messages <= 0)
|
||||
builder.setSilent(true);
|
||||
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O)
|
||||
if (new_messages > 0)
|
||||
|
|
Loading…
Reference in a new issue