Skip to content

Fix compiling on XCode 5.1.1 on Mountain Lion #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
4 changes: 2 additions & 2 deletions src/DMNetworksViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -387,15 +387,15 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
if (kCFCoreFoundationVersionNumber >= kCFCoreFoundationVersionNumber_iOS_7_0)
image = [_UIImageWithName(@"UIPreferencesBlueCheck.png") imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
else
image = [UIImage imageNamed:@"BlueCheck" inBundle:_airPortSettingsBundle];
image = [UIImage imageNamed:[_airPortSettingsBundle pathForResource:@"BlueCheck" ofType:@"png"]];

[[cell imageView] setImage:image];
[[cell textLabel] setTextColor:[UIColor tableCellValue1BlueColor]];

if (_spinner)
[_spinner removeFromSuperview];
} else {
[[cell imageView] setImage:[UIImage imageNamed:@"spacer" inBundle:_airPortSettingsBundle]];
[[cell imageView] setImage:[UIImage imageNamed:[_airPortSettingsBundle pathForResource:@"spacer" ofType:@"png"]]];
[[cell textLabel] setTextColor:[UIColor blackColor]];

if ([network isAssociating]) {
Expand Down