gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-android] branch master updated: [cashier] amount, not balan


From: gnunet
Subject: [taler-taler-android] branch master updated: [cashier] amount, not balance amount (following ISO 20022)
Date: Tue, 01 Sep 2020 19:52:02 +0200

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

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

The following commit(s) were added to refs/heads/master by this push:
     new 36821f9  [cashier] amount, not balance amount (following ISO 20022)
36821f9 is described below

commit 36821f996fddc80681b0fef9f057b0065c738418
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Tue Sep 1 23:21:10 2020 +0530

    [cashier] amount, not balance amount (following ISO 20022)
---
 cashier/src/main/java/net/taler/cashier/MainViewModel.kt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cashier/src/main/java/net/taler/cashier/MainViewModel.kt 
b/cashier/src/main/java/net/taler/cashier/MainViewModel.kt
index 95d94d7..2fd53a3 100644
--- a/cashier/src/main/java/net/taler/cashier/MainViewModel.kt
+++ b/cashier/src/main/java/net/taler/cashier/MainViewModel.kt
@@ -69,7 +69,7 @@ class MainViewModel(private val app: Application) : 
AndroidViewModel(app) {
         val result = when (val response = makeJsonGetRequest(url, config)) {
             is HttpJsonResult.Success -> {
                 try {
-                    val balance = response.json.getString("balance")
+                    val balance = response.json.getString("amount")
                     val positive = when (val creditDebitIndicator =
                         response.json.getString("credit_debit_indicator")) {
                         "credit" -> true

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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