mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-28 12:57:57 +01:00
Open error log on tapping notification body (closes #3376)
This commit is contained in:
@@ -104,10 +104,14 @@ class LibraryUpdateNotifier(private val context: Context) {
|
||||
)
|
||||
)
|
||||
setSmallIcon(R.drawable.ic_tachi)
|
||||
|
||||
val errorLogIntent = NotificationReceiver.openErrorLogPendingActivity(context, uri)
|
||||
|
||||
setContentIntent(errorLogIntent)
|
||||
addAction(
|
||||
R.drawable.nnf_ic_file_folder,
|
||||
context.getString(R.string.action_open_log),
|
||||
NotificationReceiver.openErrorLogPendingActivity(context, uri)
|
||||
errorLogIntent
|
||||
)
|
||||
}
|
||||
.build()
|
||||
|
||||
Reference in New Issue
Block a user