From 3b3a034c159786b1db001842982ded66ade76248 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 12 Jul 2025 11:45:04 -0700 Subject: [PATCH] Change notification icon and priority --- android/app/src/main/res/drawable/ic_stat_notify.xml | 10 ++++++++++ lib/preferences.dart | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 android/app/src/main/res/drawable/ic_stat_notify.xml diff --git a/android/app/src/main/res/drawable/ic_stat_notify.xml b/android/app/src/main/res/drawable/ic_stat_notify.xml new file mode 100644 index 0000000..a64534a --- /dev/null +++ b/android/app/src/main/res/drawable/ic_stat_notify.xml @@ -0,0 +1,10 @@ + + + diff --git a/lib/preferences.dart b/lib/preferences.dart index 7cc355b..fa7f915 100644 --- a/lib/preferences.dart +++ b/lib/preferences.dart @@ -111,6 +111,10 @@ class Preferences { positiveAction: 'Change to {backgroundPermissionOptionLabel}', negativeAction: 'Cancel' ), + notification: bg.Notification( + smallIcon: 'drawable/ic_stat_notify', + priority: bg.Config.NOTIFICATION_PRIORITY_MIN, + ), ); }