mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-19 19:43:57 +00:00
fix: subscription default importance
This commit is contained in:
@@ -185,7 +185,7 @@ class SubscriptionNotificationTask : Task {
|
||||
size: Int
|
||||
): NotificationCompat.Builder {
|
||||
return NotificationCompat.Builder(context, CHANNEL_SUBSCRIPTION_CHECK_PROGRESS)
|
||||
.setPriority(NotificationCompat.PRIORITY_LOW)
|
||||
.setPriority(NotificationCompat.PRIORITY_DEFAULT)
|
||||
.setSmallIcon(R.drawable.notification_icon)
|
||||
.setContentTitle(context.getString(R.string.checking_subscriptions_title))
|
||||
.setProgress(size, 0, false)
|
||||
|
||||
@@ -170,7 +170,7 @@ object Notifications {
|
||||
setName("Subscription Checks")
|
||||
setGroup(GROUP_SUBSCRIPTION_CHECK)
|
||||
},
|
||||
buildNotificationChannel(CHANNEL_SUBSCRIPTION_CHECK_PROGRESS, IMPORTANCE_LOW) {
|
||||
buildNotificationChannel(CHANNEL_SUBSCRIPTION_CHECK_PROGRESS, IMPORTANCE_DEFAULT) {
|
||||
setName("Subscription Checks Progress")
|
||||
setGroup(GROUP_SUBSCRIPTION_CHECK)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user