diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupNotifier.kt b/app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupNotifier.kt
index faf7fc92f7..f0c9873a35 100644
--- a/app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupNotifier.kt
+++ b/app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupNotifier.kt
@@ -139,10 +139,12 @@ class BackupNotifier(private val context: Context) {
val destFile = File(path, file)
val uri = destFile.getUriCompat(context)
+ val errorLogIntent = NotificationReceiver.openErrorLogPendingActivity(context, uri)
+ setContentIntent(errorLogIntent)
addAction(
R.drawable.ic_folder_24dp,
context.getString(R.string.action_show_errors),
- NotificationReceiver.openErrorLogPendingActivity(context, uri)
+ errorLogIntent,
)
}
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 ac9a7618ed..bb8608f91f 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
@@ -117,23 +117,10 @@ class LibraryUpdateNotifier(private val context: Context) {
Notifications.ID_LIBRARY_ERROR,
context.notificationBuilder(Notifications.CHANNEL_LIBRARY_ERROR) {
setContentTitle(context.resources.getQuantityString(R.plurals.notification_update_error, errors.size, errors.size))
- setStyle(
- NotificationCompat.BigTextStyle().bigText(
- errors.joinToString("\n") {
- it.chop(NOTIF_TITLE_MAX_LEN)
- }
- )
- )
+ setContentText(context.getString(R.string.action_show_errors))
setSmallIcon(R.drawable.ic_tachi)
- val errorLogIntent = NotificationReceiver.openErrorLogPendingActivity(context, uri)
-
- setContentIntent(errorLogIntent)
- addAction(
- R.drawable.ic_folder_24dp,
- context.getString(R.string.action_show_errors),
- errorLogIntent
- )
+ setContentIntent(NotificationReceiver.openErrorLogPendingActivity(context, uri))
}
.build()
)
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index c1fc992376..1ef9c7bb47 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -119,7 +119,7 @@
Reset
Undo
Open log
- Show errors
+ See full error details
Create
Restore
Back