Parcourir la source

iOS: Fix the display of EmptyLibraryView with orientation switch

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Soomin Lee il y a 8 ans
Parent
commit
e8f96e23a7
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      Sources/VLCLibraryViewController.m

+ 1 - 0
Sources/VLCLibraryViewController.m

@@ -504,6 +504,7 @@ static NSString *kUsingTableViewToShowData = @"UsingTableViewToShowData";
             [self setEditing:NO animated:NO];
         }
         [self setUsingTableViewToShowData:isPortrait];
+        [self _displayEmptyLibraryViewIfNeeded];
         [self enableNavigationBarAnimation:YES resetPositionWithAnimation:YES];
     }
 }