mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-04 08:08:55 +01:00
Move learn more text in skipped entries notification to main content
Because people apparently don't realize they can tap actions
This commit is contained in:
@@ -128,8 +128,9 @@ class LibraryUpdateNotifier(private val context: Context) {
|
||||
Notifications.ID_LIBRARY_SKIPPED,
|
||||
context.notificationBuilder(Notifications.CHANNEL_LIBRARY_SKIPPED) {
|
||||
setContentTitle(context.resources.getString(R.string.notification_update_skipped, skipped))
|
||||
setContentText(context.getString(R.string.learn_more))
|
||||
setSmallIcon(R.drawable.ic_tachi)
|
||||
addAction(R.drawable.ic_help_24dp, context.getString(R.string.learn_more), NotificationHandler.openUrl(context, HELP_SKIPPED_URL))
|
||||
setContentIntent(NotificationHandler.openUrl(context, HELP_SKIPPED_URL))
|
||||
}
|
||||
.build(),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user