Show open icon for tracking links

Add the open icon to parsed data values that open an external
link so tracking numbers visibly indicate that tapping them opens
the tracking website.
This commit is contained in:
Markus Fisch
2026-06-04 18:01:06 +02:00
parent 45054c80f8
commit 702dc75ddd
@@ -660,6 +660,15 @@ class DecodeActivity : AbstractBaseActivity() {
)
)
this.text = text
if (item.link != null) {
setCompoundDrawablesWithIntrinsicBounds(
0,
0,
R.drawable.ic_action_open,
0
)
compoundDrawablePadding = spaceBetween / 2
}
}
val alpha = if (dimmed) 0.5f else 1f