|
@@ -153,6 +153,9 @@ extern const NSInteger BLUR_TOPBAR_TAG;
|
153
|
153
|
_navigationButtons = [[RNNNavigationButtons alloc] initWithViewController:(RNNRootViewController*)viewController];
|
154
|
154
|
[_navigationButtons applyLeftButtons:self.leftButtons rightButtons:self.rightButtons defaultLeftButtonStyle:self.leftButtonStyle defaultRightButtonStyle:self.rightButtonStyle];
|
155
|
155
|
}
|
|
156
|
+
|
|
157
|
+ self.rightButtons = nil;
|
|
158
|
+ self.leftButtons = nil;
|
156
|
159
|
}
|
157
|
160
|
|
158
|
161
|
- (void)setRightButtonColor:(NSNumber *)rightButtonColor {
|
|
@@ -184,6 +187,8 @@ extern const NSInteger BLUR_TOPBAR_TAG;
|
184
|
187
|
} else {
|
185
|
188
|
[_rightButtonStyle mergeWith:rightButtons];
|
186
|
189
|
}
|
|
190
|
+ } else {
|
|
191
|
+ _rightButtons = rightButtons;
|
187
|
192
|
}
|
188
|
193
|
}
|
189
|
194
|
|
|
@@ -196,6 +201,8 @@ extern const NSInteger BLUR_TOPBAR_TAG;
|
196
|
201
|
} else {
|
197
|
202
|
[_leftButtonStyle mergeWith:leftButtons];
|
198
|
203
|
}
|
|
204
|
+ } else {
|
|
205
|
+ _leftButtons = leftButtons;
|
199
|
206
|
}
|
200
|
207
|
}
|
201
|
208
|
|