gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-android] 01/03: [wallet] Fix selection of refresh events (t


From: gnunet
Subject: [taler-taler-android] 01/03: [wallet] Fix selection of refresh events (that are supposed to go away)
Date: Thu, 30 Apr 2020 19:33:40 +0200

This is an automated email from the git hooks/post-receive script.

torsten-grote pushed a commit to branch master
in repository taler-android.

commit d284953c7f540ea15a99b8ae3d99c2bfb6d1ee6b
Author: Torsten Grote <address@hidden>
AuthorDate: Fri Apr 24 11:57:12 2020 -0300

    [wallet] Fix selection of refresh events (that are supposed to go away)
---
 .../main/java/net/taler/wallet/transactions/TransactionAdapter.kt   | 6 +++---
 1 file 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

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]