We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6532b7d commit a9d35e2Copy full SHA for a9d35e2
1 file changed
XBMC Remote/NowPlaying.m
@@ -357,6 +357,10 @@ - (void)setCoverSize:(NSString*)type {
357
- (void)serverIsDisconnected {
358
currentPlaylistID = PLAYERID_UNKNOWN;
359
storedItemID = 0;
360
+ [self nothingIsPlaying];
361
+ if (playlistData.count == 0) {
362
+ return;
363
+ }
364
[UIView animateWithDuration:0.1
365
delay:0.0
366
options:UIViewAnimationOptionCurveEaseInOut
@@ -369,7 +373,6 @@ - (void)serverIsDisconnected {
369
373
[playlistTableView reloadData];
370
374
[self notifyChangeForPlaylistHeader];
371
375
}];
372
- [self nothingIsPlaying];
376
}
377
378
- (void)nothingIsPlaying {
0 commit comments