diff --git a/app/src/main/java/eu/faircode/email/ActivitySetup.java b/app/src/main/java/eu/faircode/email/ActivitySetup.java index 33cab33b65..c59ea75c8d 100644 --- a/app/src/main/java/eu/faircode/email/ActivitySetup.java +++ b/app/src/main/java/eu/faircode/email/ActivitySetup.java @@ -33,7 +33,6 @@ import android.content.SharedPreferences; import android.content.pm.PackageManager; import android.content.res.AssetFileDescriptor; import android.content.res.Configuration; -import android.graphics.Color; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.media.Ringtone; @@ -990,11 +989,7 @@ public class ActivitySetup extends ActivityBilling implements FragmentManager.On channel.setSound(uri, Notification.AUDIO_ATTRIBUTES_DEFAULT); } - boolean light = jchannel.getBoolean("light"); - channel.enableLights(light); - if (light) - channel.setLightColor(Color.BLUE); - + channel.enableLights(jchannel.getBoolean("light")); channel.enableVibration(jchannel.getBoolean("vibrate")); return channel; diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index 5a4b4365b9..3e3b4b4944 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -1621,7 +1621,6 @@ public class AdapterMessage extends RecyclerView.Adapter