Browse Source

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

B. Petersen 1 year ago
parent
commit
d310c48951
1 changed files with 1 additions and 1 deletions
  1. 1 1
      DcShare/Controller/ChatListController.swift

+ 1 - 1
DcShare/Controller/ChatListController.swift

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