Quellcode durchsuchen

iOS: Fix the display of EmptyLibraryView with orientation switch

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Soomin Lee vor 8 Jahren
Ursprung
Commit
e8f96e23a7
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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];
     }
 }