Skip to content

Commit

Permalink
Merge pull request #1 from NAOYA-MAEDA-DEV/fix/change-variables-name
Browse files Browse the repository at this point in the history
一部の変数名を修正
  • Loading branch information
NAOYA-MAEDA-DEV authored Apr 30, 2024
2 parents bc233cc + 899f327 commit 61eee1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CoreNFCSampler/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import SwiftUI

struct ContentView: View {
@StateObject private var reader = NFCTagReader()
@FocusState private var emailFieldIsFocused: Bool
@FocusState private var textFieldIsFocused: Bool

var body: some View {
VStack(spacing: 0) {
Expand All @@ -25,7 +25,7 @@ struct ContentView: View {
"Enter the message.",
text: $reader.writeMesage
)
.focused($emailFieldIsFocused)
.focused($textFieldIsFocused)
.textFieldStyle(RoundedBorderTextFieldStyle())
}
.padding()
Expand Down

0 comments on commit 61eee1f

Please sign in to comment.