Skip to content

Commit 3ab5c89

Browse files
chore: add preview to update password view
1 parent 5fd745e commit 3ab5c89

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/UpdatePassword.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
// Created by Russell Wheatley on 24/04/2025.
2020
//
2121

22+
import FirebaseCore
2223
import SwiftUI
2324

2425
private enum FocusableField: Hashable {
@@ -94,3 +95,10 @@ extension UpdatePasswordView: View {
9495
}
9596
}
9697
}
98+
99+
100+
#Preview {
101+
FirebaseOptions.dummyConfigurationForPreview()
102+
return UpdatePasswordView()
103+
.environment(AuthService())
104+
}

0 commit comments

Comments
 (0)