Permalink
Browse files

Remove unnecessary condition check

  • Loading branch information...
BaseInfinity committed Oct 14, 2012
1 parent 3c7a328 commit 82f04e90edef14b218006725eef37b62b52637a0
Showing with 3 additions and 6 deletions.
  1. +3 −6 Classes/GuideIntroViewController.m
@@ -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;

0 comments on commit 82f04e9

Please sign in to comment.