aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-08-15 16:19:45 +0200
committerRaindropsSys <contact@minteck.org>2023-08-15 16:19:45 +0200
commit1dd4914965325d967a8c57dc3f37e2e16c5deafe (patch)
tree3fc21486f6e238b3b07854033cc1bfcf1b9e7cde
parent8ea549fa908c105a233d73ba8557364dd816ccba (diff)
downloadponypush-1dd4914965325d967a8c57dc3f37e2e16c5deafe.tar.gz
ponypush-1dd4914965325d967a8c57dc3f37e2e16c5deafe.tar.bz2
ponypush-1dd4914965325d967a8c57dc3f37e2e16c5deafe.zip
Updated app/src/main/java/io/heckel/ntfy/ui/DetailAdapter.kt (automated)
-rw-r--r--app/src/main/java/io/heckel/ntfy/ui/DetailAdapter.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/io/heckel/ntfy/ui/DetailAdapter.kt b/app/src/main/java/io/heckel/ntfy/ui/DetailAdapter.kt
index 32799de..b7bc58d 100644
--- a/app/src/main/java/io/heckel/ntfy/ui/DetailAdapter.kt
+++ b/app/src/main/java/io/heckel/ntfy/ui/DetailAdapter.kt
@@ -93,7 +93,7 @@ class DetailAdapter(private val activity: Activity, private val lifecycleScope:
private val actionsWrapperView: ConstraintLayout = itemView.findViewById(R.id.detail_item_actions_wrapper)
private val actionsFlow: Flow = itemView.findViewById(R.id.detail_item_actions_flow)
- // @ponypush
+ // @ponypush - [START
fun categoryDescription(item: String): String {
val context = itemView.context
@@ -115,6 +115,7 @@ class DetailAdapter(private val activity: Activity, private val lifecycleScope:
else -> context.getString(R.string.category_default, item)
}
}
+ // @ponypush - END]
fun bind(notification: Notification) {
this.notification = notification