Commit 441a760a authored by Felix Paul Kühne's avatar Felix Paul Kühne

ipad library view: fix redrawing issue

parent f7374647
......@@ -127,8 +127,6 @@
}
}
#pragma mark - Table View
- (void)updateViewContents
{
[[MLMediaLibrary sharedMediaLibrary] updateMediaDatabase];
......@@ -137,12 +135,17 @@
if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone)
[self.tableView reloadData];
else
else {
[self.gridView reloadData];
[self.gridView setNeedsDisplay];
}
[self _displayEmptyLibraryViewIfNeeded];
}
#pragma mark - Table View
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
return 1;
......
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