Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
Remove unnecessary condition check
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Ayala committed Oct 14, 2012
1 parent 3c7a328 commit 82f04e9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Classes/GuideIntroViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,11 @@ - (void)viewDidLoad {
if ([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad) {
if ([Config currentConfig].site == ConfigMake || [Config currentConfig].site == ConfigMakeDev) {
headerImageMake.hidden = NO;
}
else if ([Config currentConfig].site == ConfigIFixit || [Config currentConfig].site == ConfigIFixitDev) {
} else if ([Config currentConfig].site == ConfigIFixit || [Config currentConfig].site == ConfigIFixitDev) {
headerImageIFixit.hidden = NO;
}
else if ([Config currentConfig].site == ConfigZeal || [Config currentConfig].site == ConfigZeal) {
} else if ([Config currentConfig].site == ConfigZeal) {
headerImageZeal.hidden = NO;
}
else {
} else {
headerTextDozuki.font = [UIFont fontWithName:@"Lobster" size:75.0];
headerTextDozuki.text = [[Config currentConfig].siteData valueForKey:@"title"];
headerTextDozuki.hidden = NO;
Expand Down

0 comments on commit 82f04e9

Please sign in to comment.