Skip to content

Commit

Permalink
修复bug #78,优化创建导航栏item方法
Browse files Browse the repository at this point in the history
  • Loading branch information
QuintGao committed May 20, 2021
1 parent d113a11 commit d6cdcd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ + (void)load {

- (void)gk_viewDidLoad {
// bug fix #76,修改添加了子控制器后调整导航栏间距无效的bug
// 当创建了gk_navigationBar并且父控制器是导航控制器的时候才去调整导航栏间距
// 当创建了gk_navigationBar或者父控制器是导航控制器的时候才去调整导航栏间距
if ([self navItemSpaceChangeIfNeeded]) {
// 设置默认导航栏间距
self.gk_navItemLeftSpace = GKNavigationBarItemSpace;
Expand Down

0 comments on commit d6cdcd3

Please sign in to comment.