Преглед на файлове

MediaViewController: Make Navbar not jump when switching between empty and not empty controllers

Carola Nitz преди 7 години
родител
ревизия
623f1972ea
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      Sources/MediaViewController.swift

+ 0 - 1
Sources/MediaViewController.swift

@@ -148,7 +148,6 @@ public class VLCMediaViewController: UICollectionViewController, UISearchResults
         
         if #available(iOS 11.0, *) {
             navigationItem.searchController = isEmpty ? nil : searchController
-            navigationController?.navigationBar.prefersLargeTitles = !isEmpty
         } else {
             navigationItem.titleView = isEmpty ? nil : searchController?.searchBar
         }