From 28575936d326e4c1954f2329b00a50ff6ada6c26 Mon Sep 17 00:00:00 2001 From: arkon Date: Tue, 12 Apr 2022 23:08:00 -0400 Subject: [PATCH] Move learn more text in skipped entries notification to main content Because people apparently don't realize they can tap actions --- .../eu/kanade/tachiyomi/data/library/LibraryUpdateNotifier.kt | 3 ++- app/src/main/res/values/strings.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateNotifier.kt b/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateNotifier.kt index c26266cc8..df2d9450e 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateNotifier.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateNotifier.kt @@ -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(), ) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 755ed949c..7a499d201 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -740,7 +740,7 @@ %1$d update(s) failed %1$d update(s) skipped - Learn more + Tap to learn more Failed to update cover Please add the manga to your library before doing this For help on how to fix library update errors, see %1$s