Commit 7afb16c2 authored by Felix Paul Kühne's avatar Felix Paul Kühne

fix bug which lead to the impression that the media library was empty even though it's full

parent ec8e54f5
......@@ -94,7 +94,6 @@
[[NSFileManager defaultManager] removeItemAtPath:[[NSURL URLWithString:mediaObject.url] path] error:nil];
[self updateViewContents];
[self _displayEmptyLibraryViewIfNeeded];
}
- (void)_displayEmptyLibraryViewIfNeeded
......@@ -139,6 +138,8 @@
[self.tableView reloadData];
else
[self.gridView reloadData];
[self _displayEmptyLibraryViewIfNeeded];
}
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
......
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