Make tapping library update and backup restore error notifications open log

This commit is contained in:
arkon
2021-10-18 09:49:58 -04:00
parent 3800065230
commit 9352e249ee
3 changed files with 6 additions and 17 deletions
@@ -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,
)
}