From c1399d129ed2be79d2f1e96c6c74e86a4c839e50 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Fri, 14 Mar 2025 14:20:08 -0400 Subject: [PATCH] Migrates from old keyboard option interface --- .../com/vitorpamplona/amethyst/ui/note/UpdateZapAmountDialog.kt | 2 +- .../vitorpamplona/amethyst/ui/screen/loggedOff/LoginScreen.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/UpdateZapAmountDialog.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/UpdateZapAmountDialog.kt index 807bf15796..6735a220e9 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/UpdateZapAmountDialog.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/note/UpdateZapAmountDialog.kt @@ -592,7 +592,7 @@ fun UpdateZapAmountContent( onValueChange = { postViewModel.walletConnectSecret = it }, keyboardOptions = KeyboardOptions( - autoCorrect = false, + autoCorrectEnabled = false, keyboardType = KeyboardType.Password, imeAction = ImeAction.Go, ), diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedOff/LoginScreen.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedOff/LoginScreen.kt index 3b00f12c8f..cbdc8f3838 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedOff/LoginScreen.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedOff/LoginScreen.kt @@ -554,7 +554,7 @@ fun KeyTextField( onValueChange = { onValueChange(it, false) }, keyboardOptions = KeyboardOptions( - autoCorrect = false, + autoCorrectEnabled = false, keyboardType = KeyboardType.Password, imeAction = ImeAction.Go, ),