Commit f9bb7f091e1462ac1d142cc6344e7f1d6a7b54c8
1 parent
9a826d8b
no message
Showing
1 changed file
with
1 additions
and
1 deletions
CNLiveQrCodeModule/Classes/Controller/CNLiveScanResultController.m
| @@ -68,7 +68,7 @@ | @@ -68,7 +68,7 @@ | ||
| 68 | #pragma mark - 懒加载 | 68 | #pragma mark - 懒加载 |
| 69 | - (CNLiveNavigationBar *)navigationBar { | 69 | - (CNLiveNavigationBar *)navigationBar { |
| 70 | if (!_navigationBar) { | 70 | if (!_navigationBar) { |
| 71 | - _navigationBar = [[CNLiveNavigationBar alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, NavigationContentTop)]; | 71 | + _navigationBar = [CNLiveNavigationBar navigationBar]; |
| 72 | __weak typeof(self) weakSelf = self; | 72 | __weak typeof(self) weakSelf = self; |
| 73 | _navigationBar.onClickLeftButton = ^{ | 73 | _navigationBar.onClickLeftButton = ^{ |
| 74 | __strong typeof(weakSelf) strongSelf = weakSelf; | 74 | __strong typeof(weakSelf) strongSelf = weakSelf; |