Skip to content

Commit 2c37c53

Browse files
update password button label
1 parent 30818ed commit 2c37c53

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Utils/StringUtils.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,14 @@ public class StringUtils {
201201
public var signOutButtonLabel: String {
202202
return localizedString(for: "AS_SignOut")
203203
}
204+
205+
/// Account settings - update password button label
206+
/// found in:
207+
/// SignedInView
208+
public var updatePasswordButtonLabel: String {
209+
return localizedString(for: "Update password")
210+
}
211+
204212

205213
/// General string - Back button label
206214
/// found in:

FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Views/SignedInView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ extension SignedInView: View {
3030
VerifyEmailView()
3131
}
3232
Divider()
33-
Button("Update password") {
33+
Button(authService.string.updatePasswordButtonLabel) {
3434
authService.authView = .updatePassword
3535
}
3636
Divider()

0 commit comments

Comments
 (0)