diff options
author | Torsten Grote <t@grobox.de> | 2020-03-05 13:14:12 -0300 |
---|---|---|
committer | Torsten Grote <t@grobox.de> | 2020-03-05 13:32:13 -0300 |
commit | 9c7f53f6fccf55d4aa67063ab806f22c871c20e1 (patch) | |
tree | 57036817518767a219609495d879172d0cafa228 /app/src | |
parent | 9a707c24f8b9731c748640eaa94290a491d03d79 (diff) | |
download | wallet-android-9c7f53f6fccf55d4aa67063ab806f22c871c20e1.tar.gz wallet-android-9c7f53f6fccf55d4aa67063ab806f22c871c20e1.tar.bz2 wallet-android-9c7f53f6fccf55d4aa67063ab806f22c871c20e1.zip |
Download binary deps before building on CI
and fix lint issue
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/net/taler/wallet/history/WalletHistory.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/net/taler/wallet/history/WalletHistory.kt b/app/src/main/java/net/taler/wallet/history/WalletHistory.kt index 76b11ea..bb37ffa 100644 --- a/app/src/main/java/net/taler/wallet/history/WalletHistory.kt +++ b/app/src/main/java/net/taler/wallet/history/WalletHistory.kt @@ -95,10 +95,10 @@ class WalletHistory : Fragment(), OnEventClickListener { addItemDecoration(myItemDecoration) } - model.historyProgress.observe(this, Observer { show -> + model.historyProgress.observe(viewLifecycleOwner, Observer { show -> historyProgressBar.visibility = if (show) VISIBLE else INVISIBLE }) - model.history.observe(this, Observer { history -> + model.history.observe(viewLifecycleOwner, Observer { history -> historyEmptyState.visibility = if (history.isEmpty()) VISIBLE else INVISIBLE historyAdapter.update(history) }) |