Skip to content

Commit

Permalink
fix: removed warnings that appears after dropping iOS 11
Browse files Browse the repository at this point in the history
  • Loading branch information
pmusolino committed May 18, 2020
1 parent 70931ef commit 08db65e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion WooCommerce/Classes/Tools/Zendesk/ZendeskManager.swift
Expand Up @@ -578,7 +578,7 @@ private extension ZendeskManager {
}
}()

let networkCarrier = CTTelephonyNetworkInfo().subscriberCellularProvider
let networkCarrier = CTTelephonyNetworkInfo().serviceSubscriberCellularProviders?.first?.value
let carrierName = networkCarrier?.carrierName ?? Constants.unknownValue
let carrierCountryCode = networkCarrier?.isoCountryCode ?? Constants.unknownValue

Expand Down
Expand Up @@ -15,7 +15,7 @@ final class ShipmentProvidersViewController: UIViewController {
private lazy var searchController: UISearchController = {
let returnValue = UISearchController(searchResultsController: nil)
returnValue.hidesNavigationBarDuringPresentation = false
returnValue.dimsBackgroundDuringPresentation = false
returnValue.obscuresBackgroundDuringPresentation = false
returnValue.searchResultsUpdater = self
returnValue.delegate = self

Expand Down

0 comments on commit 08db65e

Please sign in to comment.