Skip to content

Commit 0d68466

Browse files
renamed hideCancelButton to shouldHideCancelButton
1 parent 3e84fdd commit 0d68466

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

FirebaseAuthUI/FUIAuth.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,10 @@ __attribute__((deprecated("Instead use authUI:didSignInWithAuthDataResult:error:
181181
*/
182182
@property(nonatomic, assign) BOOL allowNewEmailAccounts;
183183

184-
/** @property hideCancelButton
184+
/** @property shouldHideCancelButton
185185
@brief Whether to hide the canel button, defaults to NO.
186186
*/
187-
@property(nonatomic, assign) BOOL hideCancelButton;
187+
@property(nonatomic, assign) BOOL shouldHideCancelButton;
188188

189189
/** @property customStringsBundle
190190
@brief Custom strings bundle supplied by the developer. Nil when there is no custom strings

FirebaseAuthUI/FUIAuthPickerViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ - (instancetype)initWithNibName:(NSString *)nibNameOrNil
8080
- (void)viewDidLoad {
8181
[super viewDidLoad];
8282

83-
if (!self.authUI.hideCancelButton) {
83+
if (!self.authUI.shouldHideCancelButton) {
8484
UIBarButtonItem *cancelBarButton =
8585
[[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCancel
8686
target:self

FirebaseAuthUI/FUIEmailEntryViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ - (void)viewWillAppear:(BOOL)animated {
102102
[super viewWillAppear:animated];
103103

104104
if (self.navigationController.viewControllers.firstObject == self) {
105-
if (!self.authUI.hideCancelButton) {
105+
if (!self.authUI.shouldHideCancelButton) {
106106
UIBarButtonItem *cancelBarButton =
107107
[[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCancel
108108
target:self

FirebaseAuthUI/FUIPasswordSignInViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ - (void)viewWillAppear:(BOOL)animated {
9999
[super viewWillAppear:animated];
100100

101101
if (self.navigationController.viewControllers.firstObject == self) {
102-
if (!self.authUI.hideCancelButton) {
102+
if (!self.authUI.shouldHideCancelButton) {
103103
UIBarButtonItem *cancelBarButton =
104104
[[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCancel
105105
target:self

FirebasePhoneAuthUI/FUIPhoneEntryViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ - (void)viewWillAppear:(BOOL)animated {
147147
target:self
148148
action:@selector(cancelAuthorization)];
149149
self.navigationItem.leftBarButtonItem = cancelBarButton;
150-
} else if (!self.authUI.hideCancelButton) {
150+
} else if (!self.authUI.shouldHideCancelButton) {
151151
UIBarButtonItem *cancelBarButton =
152152
[[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCancel
153153
target:self

0 commit comments

Comments
 (0)