Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GhenadieVP committed Mar 25, 2024
1 parent 9a558a4 commit 6b66d8c
Showing 1 changed file with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,15 @@ extension ImportMnemonicWord {
set: { viewStore.send(.wordChanged(input: $0.lowercased().trimmingWhitespacesAndNewlines())) }
),
hint: viewStore.hint,
focus: .on(
.textField,
binding: viewStore.binding(
get: \.focusedField,
send: { .textFieldFocused($0) }
),
to: $focusedField
),
// FIXME: Bring back autofocus
// focus: .on(
// .textField,
// binding: viewStore.binding(
// get: \.focusedField,
// send: { .textFieldFocused($0) }
// ),
// to: $focusedField
// ),
showClearButton: viewStore.showClearButton,
innerAccessory: {
if viewStore.displayValidAccessory {
Expand Down

0 comments on commit 6b66d8c

Please sign in to comment.