Pārlūkot izejas kodu

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

B. Petersen 1 gadu atpakaļ
vecāks
revīzija
d310c48951
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      DcShare/Controller/ChatListController.swift

+ 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