commit 3c36cc3578ae940dbbf40e09bd961d0744fd0687 parent dced4160a0faf2a7bb666da97f9ad016fb934619 Author: Iván Ávalos <avalos@disroot.org> Date: Wed, 28 Feb 2024 09:09:14 -0600 [wallet] Fix issue where invalid withdraw:// URIs could crash the app bug 0008535 Diffstat:
| M | 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 @@ -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)) } /**