Эх сурвалжийг харах

use searchController.obscuresBackgroundDuringPresentation instead of deprecated searchController.dimsBackgroundDuringPresentation (as elsewhere in the app)

B. Petersen 1 жил өмнө
parent
commit
d310c48951

+ 1 - 1
DcShare/Controller/ChatListController.swift

@@ -19,7 +19,7 @@ class ChatListController: UITableViewController {
         searchController.searchResultsUpdater = viewModel
         searchController.searchResultsUpdater = viewModel
         searchController.obscuresBackgroundDuringPresentation = false
         searchController.obscuresBackgroundDuringPresentation = false
         searchController.searchBar.placeholder = String.localized("search")
         searchController.searchBar.placeholder = String.localized("search")
-        searchController.dimsBackgroundDuringPresentation = false
+        searchController.obscuresBackgroundDuringPresentation = true
         searchController.hidesNavigationBarDuringPresentation = true
         searchController.hidesNavigationBarDuringPresentation = true
         searchController.searchBar.delegate = self
         searchController.searchBar.delegate = self
         return searchController
         return searchController