From 5651e922b08e0a12fe1860dba281ab7388adf40c Mon Sep 17 00:00:00 2001 From: The Eclectic Dyslexic Date: Sat, 13 Jan 2024 11:32:43 -0800 Subject: [PATCH] Fix incorrect initialization of Info notification channel --- .../syncthingandroid/service/NotificationHandler.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/nutomic/syncthingandroid/service/NotificationHandler.java b/app/src/main/java/com/nutomic/syncthingandroid/service/NotificationHandler.java index 3eb852750..515de9dff 100644 --- a/app/src/main/java/com/nutomic/syncthingandroid/service/NotificationHandler.java +++ b/app/src/main/java/com/nutomic/syncthingandroid/service/NotificationHandler.java @@ -73,9 +73,9 @@ public NotificationHandler(Context context) { mInfoChannel = new NotificationChannel( CHANNEL_INFO, mContext.getString(R.string.notifications_other_channel), NotificationManager.IMPORTANCE_LOW); - mPersistentChannel.enableVibration(false); - mPersistentChannel.setSound(null, null); - mPersistentChannel.setShowBadge(true); + mInfoChannel.enableVibration(false); + mInfoChannel.setSound(null, null); + mInfoChannel.setShowBadge(true); mNotificationManager.createNotificationChannel(mInfoChannel); } else { mPersistentChannel = null;