Skip to content

Commit

Permalink
Changes to the side menu view controller on the iPad
Browse files Browse the repository at this point in the history
  • Loading branch information
measuredweighed committed Feb 11, 2014
1 parent 83acaf7 commit c680f23
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Diabetik/Diabetik-Info.plist
Expand Up @@ -44,7 +44,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1841</string>
<string>1879</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIAppFonts</key>
Expand Down
2 changes: 1 addition & 1 deletion Diabetik/UAAppDelegate.m
Expand Up @@ -103,7 +103,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
viewController.blurSaturationDeltaFactor = 3.0f;
viewController.blurRadius = 10.0f;
viewController.limitMenuViewSize = YES;
viewController.menuViewSize = CGSizeMake(320.0f, self.window.frame.size.height);
viewController.menuViewSize = CGSizeMake(280.0f, self.window.frame.size.height);
self.viewController = viewController;

// Delay launch on non-essential classes
Expand Down
17 changes: 4 additions & 13 deletions Diabetik/View Controllers/Menu/UASideMenuViewController.m
Expand Up @@ -60,19 +60,10 @@ - (void)viewDidLoad
self.tableView.opaque = NO;
self.tableView.tableFooterView = [UIView new];
self.tableView.separatorColor = [UIColor colorWithWhite:0.0f alpha:0.08f];

// We only want to make the tableview transparent for iPhone devices (where blur is displayed)
//if(UI_USER_INTERFACE_IDIOM() != UIUserInterfaceIdiomPad)
{
self.tableView.backgroundColor = [UIColor clearColor];
self.tableView.backgroundView = nil;
self.view.backgroundColor = [UIColor clearColor];
}
/*else
{
self.view.backgroundColor = [UIColor whiteColor];
}*/

self.tableView.backgroundColor = [UIColor clearColor];
self.tableView.backgroundView = nil;
self.view.backgroundColor = [UIColor clearColor];

reminderUpdateNotifier = [[NSNotificationCenter defaultCenter] addObserverForName:kRemindersUpdatedNotification object:nil queue:[NSOperationQueue mainQueue] usingBlock:^(NSNotification *note) {
dispatch_async(dispatch_get_main_queue(), ^{
[self.tableView reloadData];
Expand Down

0 comments on commit c680f23

Please sign in to comment.