From 3c7167cf7289ac053ecfd97ff39fa5a0328431f4 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 14 Aug 2024 19:10:10 +0200 Subject: [PATCH] Notification grouping requires Android 7.0 --- .../java/eu/faircode/email/FragmentOptionsNotifications.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java b/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java index 235512c504..2903d85fbc 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java @@ -558,6 +558,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared } }); + swNotifyGrouping.setVisibility(Build.VERSION.SDK_INT >= Build.VERSION_CODES.N ? View.VISIBLE : View.GONE); swNotifyGrouping.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {