[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-android] 01/02: [wallet] Fix issue where invalid withdraw:/
From: |
gnunet |
Subject: |
[taler-taler-android] 01/02: [wallet] Fix issue where invalid withdraw:// URIs could crash the app |
Date: |
Wed, 28 Feb 2024 18:29:29 +0100 |
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 3c36cc3578ae940dbbf40e09bd961d0744fd0687
Author: Iván Ávalos <avalos@disroot.org>
AuthorDate: Wed Feb 28 09:09:14 2024 -0600
[wallet] Fix issue where invalid withdraw:// URIs could crash the app
bug 0008535
---
wallet/src/main/java/net/taler/wallet/withdraw/WithdrawManager.kt | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/wallet/src/main/java/net/taler/wallet/withdraw/WithdrawManager.kt
b/wallet/src/main/java/net/taler/wallet/withdraw/WithdrawManager.kt
index 6e8eafd..231091f 100644
--- a/wallet/src/main/java/net/taler/wallet/withdraw/WithdrawManager.kt
+++ b/wallet/src/main/java/net/taler/wallet/withdraw/WithdrawManager.kt
@@ -326,10 +326,9 @@ class WithdrawManager(
}
}
- @UiThread
private fun handleError(operation: String, error: TalerErrorInfo) {
Log.e(TAG, "Error $operation $error")
- withdrawStatus.value = WithdrawStatus.Error(error.userFacingMsg)
+ withdrawStatus.postValue(WithdrawStatus.Error(error.userFacingMsg))
}
/**
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.