Skip to content

Commit 4854c78

Browse files
chore: update string label
1 parent e092014 commit 4854c78

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

FirebaseSwiftUI/FirebaseAuthSwiftUI/Sources/Utils/StringUtils.swift

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,14 +315,13 @@ public class StringUtils {
315315
public var phoneNumberVerificationCodeLabel: String {
316316
return localizedString(for: "Enter verification code")
317317
}
318-
318+
319319
/// Phone provider
320320
/// found in:
321321
/// - PhoneAuthButtonView
322-
public var smsCodeSentLabel: String {
323-
return localizedString(for: "SMS code sent")
322+
public var smsCodeSendButtonLabel: String {
323+
return localizedString(for: "Send SMS code")
324324
}
325-
326325
/// Phone provider
327326
/// found in:
328327
/// - PhoneAuthButtonView

FirebaseSwiftUI/FirebasePhoneAuthSwiftUI/Sources/Views/PhoneAuthView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ extension PhoneAuthView: View {
4848
}
4949
}
5050
}) {
51-
Text(authService.string.smsCodeSentLabel)
51+
Text(authService.string.smsCodeSendButtonLabel)
5252
.padding(.vertical, 8)
5353
.frame(maxWidth: .infinity)
5454
}

0 commit comments

Comments
 (0)