CB-13409: change hidetoolbarnavigationbuttons to hidenavigationbuttons in iso

This commit is contained in:
Landsbankinn
2017-10-06 15:35:28 +00:00
parent e691212c96
commit 4af420c592
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -53,7 +53,7 @@
@property (nonatomic, copy) NSString* toolbarposition;
@property (nonatomic, copy) NSString* toolbarcolor;
@property (nonatomic, assign) BOOL toolbartranslucent;
@property (nonatomic, assign) BOOL hidetoolbarnavigationbuttons;
@property (nonatomic, assign) BOOL hidenavigationbuttons;
@property (nonatomic, assign) BOOL clearcache;
@property (nonatomic, assign) BOOL clearsessioncache;
+2 -2
View File
@@ -649,7 +649,7 @@
self.backButton.imageInsets = UIEdgeInsetsZero;
// Filter out Navigation Buttons if user requests so
if (_browserOptions.hidetoolbarnavigationbuttons) {
if (_browserOptions.hidenavigationbuttons) {
[self.toolbar setItems:@[self.closeButton, flexibleSpaceButton]];
} else {
[self.toolbar setItems:@[self.closeButton, flexibleSpaceButton, self.backButton, fixedSpaceButton, self.forwardButton]];
@@ -1020,7 +1020,7 @@
self.suppressesincrementalrendering = NO;
self.hidden = NO;
self.disallowoverscroll = NO;
self.hideToolbarnavigationbuttons = NO;
self.hidenavigationbuttons = NO;
self.closebuttoncolor = nil;
self.toolbarcolor = nil;
self.toolbartranslucent = YES;