From db2a75fba7b3ff5ec141be1167cd6d666ea8a17b Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 26 Sep 2024 06:38:35 +0200 Subject: [PATCH] Displaying count entered of max allowed recipient name length --- .../net/codinux/banking/ui/dialogs/TransferMoneyDialog.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/dialogs/TransferMoneyDialog.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/dialogs/TransferMoneyDialog.kt index c9b5a0a..c9582a3 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/dialogs/TransferMoneyDialog.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/dialogs/TransferMoneyDialog.kt @@ -185,6 +185,8 @@ fun TransferMoneyDialog( } } + CaptionText("${recipientName.length} / 70") + Spacer(modifier = Modifier.height(verticalSpace)) OutlinedTextField(