commit d319bc06888906196fe7ffe8891f13ed3125596a parent 4aace9af5532563a8c8cac4c0f8a9a43f937c3e8 Author: Iván Ávalos <avalos@disroot.org> Date: Tue, 20 May 2025 19:59:10 +0200 [wallet] fix scope chooser for global scope Diffstat:
| M | wallet/src/main/java/net/taler/wallet/compose/AmountScopeField.kt | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wallet/src/main/java/net/taler/wallet/compose/AmountScopeField.kt b/wallet/src/main/java/net/taler/wallet/compose/AmountScopeField.kt @@ -165,7 +165,7 @@ fun ScopeDropdown( DropdownMenuItem( text = { Text(text = when (s) { - is ScopeInfo.Global -> stringResource(R.string.currency) + is ScopeInfo.Global -> s.currency is ScopeInfo.Exchange -> stringResource( R.string.currency_url, s.currency,