Update src/org/thoughtcrime/securesms/notifications/NotificationCenter.java

Co-authored-by: Hocuri <hocuri@gmx.de>
This commit is contained in:
bjoern
2020-05-23 00:22:32 +02:00
committed by B. Petersen
parent bec77fcb92
commit 20f488807e
@@ -82,10 +82,8 @@ public class NotificationCenter {
}
private boolean requiresIndependentChannel(int chatId) {
if (Prefs.getChatRingtone(context, chatId)!=null || Prefs.getChatVibrate(context, chatId)!=Prefs.VibrateState.DEFAULT) {
return true;
}
return false;
return Prefs.getChatRingtone(context, chatId) != null
|| Prefs.getChatVibrate(context, chatId) != Prefs.VibrateState.DEFAULT;
}
private int getLedArgb(String ledColor) {