mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 11:17:25 +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:
parent
83a04da4a0
commit
28575936d3
@ -128,8 +128,9 @@ class LibraryUpdateNotifier(private val context: Context) {
|
|||||||
Notifications.ID_LIBRARY_SKIPPED,
|
Notifications.ID_LIBRARY_SKIPPED,
|
||||||
context.notificationBuilder(Notifications.CHANNEL_LIBRARY_SKIPPED) {
|
context.notificationBuilder(Notifications.CHANNEL_LIBRARY_SKIPPED) {
|
||||||
setContentTitle(context.resources.getString(R.string.notification_update_skipped, skipped))
|
setContentTitle(context.resources.getString(R.string.notification_update_skipped, skipped))
|
||||||
|
setContentText(context.getString(R.string.learn_more))
|
||||||
setSmallIcon(R.drawable.ic_tachi)
|
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(),
|
.build(),
|
||||||
)
|
)
|
||||||
|
@ -740,7 +740,7 @@
|
|||||||
</plurals>
|
</plurals>
|
||||||
<string name="notification_update_error">%1$d update(s) failed</string>
|
<string name="notification_update_error">%1$d update(s) failed</string>
|
||||||
<string name="notification_update_skipped">%1$d update(s) skipped</string>
|
<string name="notification_update_skipped">%1$d update(s) skipped</string>
|
||||||
<string name="learn_more">Learn more</string>
|
<string name="learn_more">Tap to learn more</string>
|
||||||
<string name="notification_cover_update_failed">Failed to update cover</string>
|
<string name="notification_cover_update_failed">Failed to update cover</string>
|
||||||
<string name="notification_first_add_to_library">Please add the manga to your library before doing this</string>
|
<string name="notification_first_add_to_library">Please add the manga to your library before doing this</string>
|
||||||
<string name="library_errors_help">For help on how to fix library update errors, see %1$s</string>
|
<string name="library_errors_help">For help on how to fix library update errors, see %1$s</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user