We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3100258 commit bc4e84eCopy full SHA for bc4e84e
FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/MFAManagementView.swift
@@ -15,6 +15,10 @@
15
import FirebaseAuth
16
import SwiftUI
17
18
+extension MultiFactorInfo: Identifiable {
19
+ public var id: String { uid }
20
+}
21
+
22
@MainActor
23
public struct MFAManagementView {
24
@Environment(AuthService.self) private var authService
@@ -131,7 +135,7 @@ extension MFAManagementView: View {
131
135
.font(.headline)
132
136
.padding(.horizontal)
133
137
134
- ForEach(enrolledFactors, id: \.uid) { factor in
138
+ ForEach(enrolledFactors) { factor in
139
factorRow(factor: factor)
140
}
141
0 commit comments