mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-20 21:53:56 +00:00
feat: global notification
This commit is contained in:
@@ -53,6 +53,9 @@ object Notifications {
|
||||
const val CHANNEL_COMMENT_WARING = "comment_warning_channel"
|
||||
const val ID_COMMENT_REPLY = -801
|
||||
|
||||
|
||||
const val CHANNEL_APP_GLOBAL = "app_global"
|
||||
|
||||
/**
|
||||
* Notification channel and ids used for anilist updates.
|
||||
*/
|
||||
@@ -151,6 +154,9 @@ object Notifications {
|
||||
setName("Anilist")
|
||||
setGroup(GROUP_ANILIST)
|
||||
},
|
||||
buildNotificationChannel(CHANNEL_APP_GLOBAL, IMPORTANCE_HIGH) {
|
||||
setName("Global Updates")
|
||||
},
|
||||
buildNotificationChannel(CHANNEL_APP_UPDATE, IMPORTANCE_DEFAULT) {
|
||||
setGroup(GROUP_APK_UPDATES)
|
||||
setName("App Updates")
|
||||
|
||||
Reference in New Issue
Block a user