Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Do not set barsTintColor in case if it is not set
  • Loading branch information
Lance Zhang authored and Lance Zhang committed Feb 4, 2015
commit 60e9cf7dc625b366c46b7af19231c7a65a17ece0
4 changes: 3 additions & 1 deletion SVWebViewController/SVModalWebViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ - (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:NO];

self.webViewController.title = self.title;
self.navigationBar.tintColor = self.barsTintColor;
if (self.barsTintColor) {
self.navigationBar.tintColor = self.barsTintColor;
}
}

#pragma mark - Delegate
Expand Down