Disable badge for send notifications

This commit is contained in:
M66B
2020-02-12 07:52:29 +01:00
parent 929d286edd
commit badba898ff

View File

@@ -272,6 +272,7 @@ public class ApplicationEx extends Application {
"send", getString(R.string.channel_send),
NotificationManager.IMPORTANCE_DEFAULT);
send.setSound(null, Notification.AUDIO_ATTRIBUTES_DEFAULT);
send.setShowBadge(false);
send.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE);
nm.createNotificationChannel(send);