Skip to content

Commit d8b11f0

Browse files
committed
Update Email Sign Up button label
1 parent 172160a commit d8b11f0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

FirebaseAuthUI/FUIPasswordSignUpViewController.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
4242
*/
4343
static NSString *const kNameSignUpCellAccessibilityID = @"NameSignUpCellAccessibilityID";
4444

45-
/** @var kNextButtonAccessibilityID
45+
/** @var kSaveButtonAccessibilityID
4646
@brief The Accessibility Identifier for the @c next button.
4747
*/
48-
static NSString *const kNextButtonAccessibilityID = @"NextButtonAccessibilityID";
48+
static NSString *const kSaveButtonAccessibilityID = @"SaveButtonAccessibilityID";
4949

5050
/** @var kTextFieldRightViewSize
5151
@brief The height and width of the @c rightView of the password text field.
@@ -113,7 +113,7 @@ - (void)viewDidLoad {
113113
style:UIBarButtonItemStylePlain
114114
target:self
115115
action:@selector(save)];
116-
saveButtonItem.accessibilityIdentifier = kNextButtonAccessibilityID;
116+
saveButtonItem.accessibilityIdentifier = kSaveButtonAccessibilityID;
117117
self.navigationItem.rightBarButtonItem = saveButtonItem;
118118
}
119119

@@ -129,7 +129,7 @@ - (void)viewDidLayoutSubviews {
129129
NSString *termsOfService = [FUIAuthStrings termsOfService];
130130
NSString *termsOfServiceNotice =
131131
[NSString stringWithFormat:[FUIAuthStrings termsOfServiceNotice],
132-
[FUIAuthStrings next], termsOfService];
132+
[FUIAuthStrings save], termsOfService];
133133
NSMutableAttributedString *attributedString =
134134
[[NSMutableAttributedString alloc] initWithString:termsOfServiceNotice];
135135
NSRange termsOfServiceRange = [termsOfServiceNotice rangeOfString:termsOfService];

samples/objc/FirebaseUI-demo-objc/Samples/Auth/FUIAuthViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
kIDPTwitter
4646
} FIRProviders;
4747

48-
NSString * const kFirebaseTermsOfService = @"https://firebase.google.com/terms/";
48+
static NSString *const kFirebaseTermsOfService = @"https://firebase.google.com/terms/";
4949

5050
@interface FUIAuthViewController () <FUIAuthDelegate>
5151
@property (weak, nonatomic) IBOutlet UITableViewCell *cellSignIn;

0 commit comments

Comments
 (0)