Pārlūkot izejas kodu

library: show correct 'empty folder' labels on iPhone

(cherry picked from commit ce74b8f005929bc7c6bcf137cad56743d4c98dbd)
Felix Paul Kühne 9 gadi atpakaļ
vecāks
revīzija
223ef5510e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Sources/VLCLibraryViewController.m

+ 1 - 1
Sources/VLCLibraryViewController.m

@@ -305,9 +305,9 @@ static NSString *kUsingTableViewToShowData = @"UsingTableViewToShowData";
                 }
                 }
                 _reorderLayout = [[LXReorderableCollectionViewFlowLayout alloc] init];
                 _reorderLayout = [[LXReorderableCollectionViewFlowLayout alloc] init];
                 [self.collectionView setCollectionViewLayout:_reorderLayout animated:NO];
                 [self.collectionView setCollectionViewLayout:_reorderLayout animated:NO];
-                _libraryMode = VLCLibraryModeFolder;
             }
             }
         }
         }
+        _libraryMode = VLCLibraryModeFolder;
         @synchronized(self) {
         @synchronized(self) {
             _foundMedia = [NSMutableArray arrayWithArray:[folder sortedFolderItems]];
             _foundMedia = [NSMutableArray arrayWithArray:[folder sortedFolderItems]];
         }
         }