File tree Expand file tree Collapse file tree 1 file changed +2
-18
lines changed
GoInfoGame/GoInfoGame/UserProfile/View Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments