aboutsummaryrefslogtreecommitdiff
path: root/wallet/src/main/java/net/taler
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-04-24 11:57:12 -0300
committerTorsten Grote <t@grobox.de>2020-04-24 11:57:12 -0300
commitd284953c7f540ea15a99b8ae3d99c2bfb6d1ee6b (patch)
tree978e701883a1daa0c170776c3ee0766d73583657 /wallet/src/main/java/net/taler
parentd576e64ba5fcefd3f8bec0379d776662fad21678 (diff)
downloadtaler-android-d284953c7f540ea15a99b8ae3d99c2bfb6d1ee6b.tar.gz
taler-android-d284953c7f540ea15a99b8ae3d99c2bfb6d1ee6b.tar.bz2
taler-android-d284953c7f540ea15a99b8ae3d99c2bfb6d1ee6b.zip
[wallet] Fix selection of refresh events (that are supposed to go away)
Diffstat (limited to 'wallet/src/main/java/net/taler')
-rw-r--r--wallet/src/main/java/net/taler/wallet/transactions/TransactionAdapter.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/wallet/src/main/java/net/taler/wallet/transactions/TransactionAdapter.kt b/wallet/src/main/java/net/taler/wallet/transactions/TransactionAdapter.kt
index a72b8a8..440d07f 100644
--- a/wallet/src/main/java/net/taler/wallet/transactions/TransactionAdapter.kt
+++ b/wallet/src/main/java/net/taler/wallet/transactions/TransactionAdapter.kt
@@ -81,15 +81,15 @@ internal class TransactionAdapter(
private val time: TextView = v.findViewById(R.id.time)
private val amount: TextView = v.findViewById(R.id.amount)
- private val selectableBackground = v.background
+ private val selectableForeground = v.foreground
private val amountColor = amount.currentTextColor
open fun bind(transaction: Transaction, selected: Boolean) {
if (devMode || transaction.detailPageLayout != 0) {
- v.background = selectableBackground
+ v.foreground = selectableForeground
v.setOnClickListener { listener.onTransactionClicked(transaction) }
} else {
- v.background = null
+ v.foreground = null
v.setOnClickListener(null)
}
v.isActivated = selected