浏览代码

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
         }