Skip to content
Snippets Groups Projects
Commit 0b10b3c1 authored by Ankit Meel's avatar Ankit Meel Committed by Steve Lhomme
Browse files

macosx: Fix assert in audio artist view

parent 8adc52af
No related branches found
No related tags found
Loading
Pipeline #453636 passed with stage
in 22 minutes and 13 seconds
......@@ -463,13 +463,13 @@ NSString *VLCLibraryPlaceholderAudioViewIdentifier = @"VLCLibraryPlaceholderAudi
- (void)updatePresentedView
{
_audioDataSource.audioLibrarySegment = [self currentLibrarySegmentToAudioLibrarySegment];
if (_audioDataSource.libraryModel.numberOfAudioMedia == 0) {
[self presentPlaceholderAudioView];
} else {
[self prepareAudioLibraryView];
[self hideAllViews];
_audioDataSource.audioLibrarySegment = [self currentLibrarySegmentToAudioLibrarySegment];
const VLCLibraryViewModeSegment viewModeSegment = [self viewModeSegmentForCurrentLibrarySegment];
if (viewModeSegment == VLCLibraryListViewModeSegment) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment