From 27e4aad5ea9d63ae613a9253d6cdeb1a66cf349c Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 16 Jan 2021 12:59:47 +0100 Subject: [PATCH] Refactoring --- app/src/main/java/eu/faircode/email/NotificationHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/NotificationHelper.java b/app/src/main/java/eu/faircode/email/NotificationHelper.java index ac5ccd9bfe..40c361bbb6 100644 --- a/app/src/main/java/eu/faircode/email/NotificationHelper.java +++ b/app/src/main/java/eu/faircode/email/NotificationHelper.java @@ -71,9 +71,9 @@ class NotificationHelper { "notification", context.getString(R.string.channel_notification), NotificationManager.IMPORTANCE_HIGH); notification.setDescription(context.getString(R.string.channel_notification_description)); - notification.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE); notification.enableLights(true); notification.setLightColor(Color.YELLOW); + notification.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE); nm.createNotificationChannel(notification); // Update