Skip to content

Commit fdaeb97

Browse files
fix: update password title
1 parent 793194c commit fdaeb97

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Utils/StringUtils.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,13 @@ public class StringUtils {
103103
return localizedString(for: "EnterYourPassword")
104104
}
105105

106+
/// Update password title
107+
/// found in:
108+
/// - UpdatePasswordView
109+
public var updatePasswordTitle: String {
110+
return localizedString(for: "UpdatePasswordTitle")
111+
}
112+
106113
/// Password recovery title
107114
/// found in:
108115
/// - PasswordRecoveryView

FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/UpdatePasswordView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ extension UpdatePasswordView: View {
103103
}
104104
.frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .top)
105105
.safeAreaPadding()
106-
.navigationTitle(authService.string.passwordRecoveryTitle)
106+
.navigationTitle(authService.string.updatePasswordTitle)
107107
.alert(
108108
"Password Updated",
109109
isPresented: $showAlert

0 commit comments

Comments
 (0)