[NavigatorIOS] Fixes #1268 - Bug causing the leftButtonIcon to not appear

Summary:
Closes https://github.com/facebook/react-native/pull/1269
Github Author: Dave Sibiski <dsibiski@gmail.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
This commit is contained in:
Dave Sibiski 2015-05-14 08:54:26 -07:00
parent b1c93bb9fc
commit f865da26ba
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@
- (void)setLeftButtonIcon:(UIImage *)leftButtonIcon - (void)setLeftButtonIcon:(UIImage *)leftButtonIcon
{ {
_leftButtonIcon = leftButtonIcon; _leftButtonIcon = leftButtonIcon;
_leftButtonIcon = nil; _leftButtonItem = nil;
} }
- (UIBarButtonItem *)leftButtonItem - (UIBarButtonItem *)leftButtonItem