Commit 33805196 authored by Felix Paul Kühne's avatar Felix Paul Kühne

slightly prettify grid view

parent e37dfae6
......@@ -14,7 +14,6 @@
@interface VLCPlaylistViewController : UIViewController <AQGridViewDataSource, AQGridViewDelegate, UITableViewDataSource, UITableViewDelegate>
@property (nonatomic, strong) VLCMovieViewController *movieViewController;
@property (nonatomic, strong) VLCAboutViewController *aboutViewController;
......
......@@ -22,13 +22,12 @@
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
if (self)
self.title = @"Aspen";
}
return self;
}
- (void)viewDidLoad
{
self.tableView.rowHeight = [VLCPlaylistTableViewCell heightOfCell];
......@@ -42,12 +41,12 @@
[self updateViewContents];
[[MLMediaLibrary sharedMediaLibrary] libraryDidAppear];
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad) {
_gridView.separatorStyle = AQGridViewCellSeparatorStyleEmptySpace;
_gridView.alwaysBounceVertical = YES;
_gridView.indicatorStyle = UIScrollViewIndicatorStyleWhite;
}
}
#pragma mark - Table View
......@@ -56,7 +55,6 @@
{
[[MLMediaLibrary sharedMediaLibrary] updateMediaDatabase];
_foundMedia = [NSMutableArray arrayWithArray:[MLFile allFiles]];
if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment