Skip to content

Commit abd1bfc

Browse files
author
Achyut Kumar M
committed
remove unused variables
1 parent 53ec80b commit abd1bfc

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

GoInfoGame/GoInfoGame/UserProfile/View/UserProfileView.swift

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,9 @@ struct UserProfileView: View {
1515
@AppStorage("loggedIn") private var loggedIn: Bool = false
1616

1717
@State private var useBiometricID: Bool = false
18-
19-
@State private var userManuallyToggled = false
20-
21-
@State private var showPasswordAuthenticationView: Bool = false
2218

23-
private var biometricToggleText: String {
24-
let context = LAContext()
25-
_ = context.canEvaluatePolicy(.deviceOwnerAuthenticationWithBiometrics, error: nil)
26-
27-
switch context.biometryType {
28-
case .faceID:
29-
return "Use Face ID for Login"
30-
case .touchID:
31-
return "Use Touch ID for Login"
32-
default:
33-
return "Use Biometric Login"
34-
}
35-
}
36-
19+
@State private var showPasswordAuthenticationView: Bool = false
20+
3721
var body: some View {
3822
Group {
3923
ZStack {

0 commit comments

Comments
 (0)