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

network server browser vc: fix logic twist

(cherry picked from commit 8928c3d7)
parent e4c35833
...@@ -188,9 +188,11 @@ ...@@ -188,9 +188,11 @@
id<VLCNetworkServerBrowserItem> item; id<VLCNetworkServerBrowserItem> item;
NSInteger row = indexPath.row; NSInteger row = indexPath.row;
BOOL singlePlayback = ![[NSUserDefaults standardUserDefaults] boolForKey:kVLCAutomaticallyPlayNextItem]; BOOL singlePlayback = ![[NSUserDefaults standardUserDefaults] boolForKey:kVLCAutomaticallyPlayNextItem];
if (self.searchController.isActive && row < _searchArray.count) { if (self.searchController.isActive) {
item = _searchArray[row]; if (row < _searchArray.count) {
singlePlayback = YES; item = _searchArray[row];
singlePlayback = YES;
}
} else { } else {
NSArray *items = self.serverBrowser.items; NSArray *items = self.serverBrowser.items;
if (row < items.count) { if (row < items.count) {
......
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