 
     override func viewDidAppear(_ animated: Bool) {
         super.viewDidAppear(animated)
-
-        // Allows the search bar to be scrolled away even though we initially show it.
-        navigationItem.hidesSearchBarWhenScrolling = true
+        unfoldSearchbar()
     }
 
     func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {

        showMoreButtonEnabled = false
        tableView.reloadData()
    }
}

            searchController.searchBar.barStyle = .black
        }
        navigationItem.searchController = searchController
        self.searchController = searchController

        definesPresentationContext = true
