[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-android] 07/08: [wallet] Make more TextFields singleLine
From: |
gnunet |
Subject: |
[taler-taler-android] 07/08: [wallet] Make more TextFields singleLine |
Date: |
Wed, 25 Oct 2023 15:40:36 +0200 |
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 359608798ab35871570c174367adbb3ab4902a93
Author: Torsten Grote <t@grobox.de>
AuthorDate: Wed Oct 25 10:27:27 2023 -0300
[wallet] Make more TextFields singleLine
---
wallet/src/main/java/net/taler/wallet/compose/NumericInputField.kt | 1 +
.../main/java/net/taler/wallet/deposit/MakeBitcoinDepositComposable.kt | 1 +
wallet/src/main/java/net/taler/wallet/deposit/MakeDepositComposable.kt | 2 ++
3 files changed, 4 insertions(+)
diff --git a/wallet/src/main/java/net/taler/wallet/compose/NumericInputField.kt
b/wallet/src/main/java/net/taler/wallet/compose/NumericInputField.kt
index 5911039..47401cf 100644
--- a/wallet/src/main/java/net/taler/wallet/compose/NumericInputField.kt
+++ b/wallet/src/main/java/net/taler/wallet/compose/NumericInputField.kt
@@ -39,6 +39,7 @@ fun NumericInputField(
OutlinedTextField(
modifier = modifier,
value = value.toString(),
+ singleLine = true,
readOnly = readOnly,
onValueChange = {
val dd = it.toLongOrNull() ?: 0
diff --git
a/wallet/src/main/java/net/taler/wallet/deposit/MakeBitcoinDepositComposable.kt
b/wallet/src/main/java/net/taler/wallet/deposit/MakeBitcoinDepositComposable.kt
index 27348bc..3fa0d98 100644
---
a/wallet/src/main/java/net/taler/wallet/deposit/MakeBitcoinDepositComposable.kt
+++
b/wallet/src/main/java/net/taler/wallet/deposit/MakeBitcoinDepositComposable.kt
@@ -71,6 +71,7 @@ fun MakeBitcoinDepositComposable(
.padding(16.dp)
.focusRequester(focusRequester),
value = address,
+ singleLine = true,
enabled = !state.showFees,
onValueChange = { input ->
address = input
diff --git
a/wallet/src/main/java/net/taler/wallet/deposit/MakeDepositComposable.kt
b/wallet/src/main/java/net/taler/wallet/deposit/MakeDepositComposable.kt
index 5fdbebf..2fc4d55 100644
--- a/wallet/src/main/java/net/taler/wallet/deposit/MakeDepositComposable.kt
+++ b/wallet/src/main/java/net/taler/wallet/deposit/MakeDepositComposable.kt
@@ -78,6 +78,7 @@ fun MakeDepositComposable(
onValueChange = { input ->
name = input
},
+ singleLine = true,
isError = name.isBlank(),
label = {
Text(
@@ -97,6 +98,7 @@ fun MakeDepositComposable(
.padding(horizontal = 16.dp)
.fillMaxWidth(),
value = iban,
+ singleLine = true,
enabled = !state.showFees,
onValueChange = { input ->
iban = input.uppercase()
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-taler-android] branch master updated (ee4f4a5 -> 7f351d4), gnunet, 2023/10/25
- [taler-taler-android] 08/08: [wallet] release 0.9.3+p9, gnunet, 2023/10/25
- [taler-taler-android] 02/08: [wallet] Remove "Warning:" from push payment screen, gnunet, 2023/10/25
- [taler-taler-android] 07/08: [wallet] Make more TextFields singleLine,
gnunet <=
- [taler-taler-android] 04/08: [wallet] Make keyboard resize views and make manual withdraw scrollable, gnunet, 2023/10/25
- [taler-taler-android] 06/08: [wallet] Don't allow zero amount for p2p transactions, gnunet, 2023/10/25
- [taler-taler-android] 01/08: [wallet] update wallet-core to dev.34, gnunet, 2023/10/25
- [taler-taler-android] 03/08: [wallet] Remove deprecated ExperimentalMaterial3Api decorators, gnunet, 2023/10/25
- [taler-taler-android] 05/08: [wallet] Refactor wire transfer and remove BIC/SWIFT field, gnunet, 2023/10/25