mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Update src/org/thoughtcrime/securesms/notifications/NotificationCenter.java
Co-authored-by: Hocuri <hocuri@gmx.de>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user