mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Fixes to library updates notifer
fix errors notification not being tappable remove view all button for it skipped action now says open log instead of view all
This commit is contained in:
parent
4a6861b6d3
commit
74cec83e5e
1 changed files with 2 additions and 6 deletions
|
@ -102,12 +102,8 @@ class LibraryUpdateNotifier(private val context: Context) {
|
|||
context.notificationBuilder(Notifications.CHANNEL_LIBRARY_ERROR) {
|
||||
setContentTitle(context.getString(R.string.notification_update_error, errorCount))
|
||||
setContentText(context.getString(R.string.tap_to_see_details))
|
||||
setContentIntent(NotificationReceiver.openErrorOrSkippedLogPendingActivity(context, uri))
|
||||
setSmallIcon(R.drawable.ic_tachij2k_notification)
|
||||
addAction(
|
||||
R.drawable.nnf_ic_file_folder,
|
||||
context.getString(R.string.view_all),
|
||||
NotificationReceiver.openErrorOrSkippedLogPendingActivity(context, uri)
|
||||
)
|
||||
}
|
||||
.build()
|
||||
)
|
||||
|
@ -133,7 +129,7 @@ class LibraryUpdateNotifier(private val context: Context) {
|
|||
setSmallIcon(R.drawable.ic_tachij2k_notification)
|
||||
addAction(
|
||||
R.drawable.ic_help_24dp,
|
||||
context.getString(R.string.view_all),
|
||||
context.getString(R.string.open_log),
|
||||
NotificationReceiver.openErrorOrSkippedLogPendingActivity(context, uri)
|
||||
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue