Skip to content

Commit

Permalink
[prefs] Fix broken navbar translucency check.
Browse files Browse the repository at this point in the history
  • Loading branch information
Muirey03 authored and kirb committed Mar 30, 2019
1 parent 945af4b commit 3e5de17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prefs/PSListController+HBTintAdditions.x
Expand Up @@ -93,7 +93,7 @@ BOOL translucentNavigationBar = NO;
}

// if we have a translucent navigation bar, apply it
translucentNavigationBar = self.hb_appearanceSettings.translucentNavigationBar;
translucentNavigationBar = self.hb_appearanceSettings ? self.hb_appearanceSettings.translucent : IS_IOS_OR_NEWER(iOS_7_0);
self._hb_realNavigationController.navigationBar.translucent = translucentNavigationBar;

if ([self respondsToSelector:@selector(setEdgesForExtendedLayout:)]) {
Expand Down

0 comments on commit 3e5de17

Please sign in to comment.