Fix multiple issues with the E-Hentai updater
This commit is contained in:
@@ -30,6 +30,9 @@ object Notifications {
|
||||
const val ID_LIBRARY_SIZE_WARNING = -103
|
||||
const val CHANNEL_LIBRARY_ERROR = "library_errors_channel"
|
||||
const val ID_LIBRARY_ERROR = -102
|
||||
const val CHANNEL_LIBRARY_EHENTAI = "library_ehentai_channel"
|
||||
const val ID_EHENTAI_PROGRESS = -199
|
||||
const val ID_EHENTAI_ERROR = -198
|
||||
|
||||
/**
|
||||
* Notification channel and ids used by the downloader.
|
||||
@@ -166,6 +169,13 @@ object Notifications {
|
||||
setGroup(GROUP_APK_UPDATES)
|
||||
setName(context.stringResource(MR.strings.channel_ext_updates))
|
||||
},
|
||||
// SY -->
|
||||
buildNotificationChannel(CHANNEL_LIBRARY_EHENTAI, IMPORTANCE_LOW) {
|
||||
setName("EHentai")
|
||||
setGroup(GROUP_LIBRARY)
|
||||
setShowBadge(false)
|
||||
},
|
||||
//SY <--
|
||||
),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user