Skip to content

Commit

Permalink
Setting indexPath when playing an item in Favourites
Browse files Browse the repository at this point in the history
This enables the activity indicator.
  • Loading branch information
wutschel committed Jan 11, 2025
1 parent 51596f8 commit eb66e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XBMC Remote/DetailViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -1594,7 +1594,7 @@ - (void)didSelectItemAtIndexPath:(NSIndexPath*)indexPath item:(NSDictionary*)ite
// Selected favourite item is a media type -> play it
else if ([item[@"type"] isEqualToString:@"media"]) {
if (item[@"path"]) {
[self playerOpen:@{@"item": @{@"file": item[@"path"]}} index:nil];
[self playerOpen:@{@"item": @{@"file": item[@"path"]}} index:indexPath];
}
}
// Selected favourite item is an unknown type -> throw an error
Expand Down

0 comments on commit eb66e56

Please sign in to comment.