feat: global notification
This commit is contained in:
parent
b654824eb7
commit
6122eb3669
5 changed files with 93 additions and 33 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue