mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-28 00:20:50 +01:00
Blue as the sky
This commit is contained in:
@@ -24,6 +24,7 @@ import android.app.NotificationChannel;
|
||||
import android.app.NotificationChannelGroup;
|
||||
import android.app.NotificationManager;
|
||||
import android.content.Context;
|
||||
import android.graphics.Color;
|
||||
import android.os.Build;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
@@ -122,6 +123,7 @@ public class EntityAccount extends EntityOrder implements Serializable {
|
||||
channel.setGroup(group.getId());
|
||||
channel.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE);
|
||||
channel.enableLights(true);
|
||||
channel.setLightColor(Color.BLUE);
|
||||
nm.createNotificationChannel(channel);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user