Badge count for Xiaomi

This commit is contained in:
M66B
2021-05-29 15:36:22 +02:00
parent 21e3673632
commit 0f14c94735
2 changed files with 3 additions and 1 deletions

View File

@@ -480,6 +480,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
: R.color.lightColorBackground_cards));
}
swUnseenIgnored.setVisibility(Helper.isXiaomi() ? View.GONE : View.VISIBLE);
swAlertOnce.setVisibility(Helper.isXiaomi() || BuildConfig.DEBUG ? View.VISIBLE : View.GONE);
// https://developer.android.com/training/notify-user/group