diff --git a/Passepartout-iOS/Cells/ActivityTableViewCell.swift b/Passepartout-iOS/Cells/ActivityTableViewCell.swift index 365510ff..63f9449d 100644 --- a/Passepartout-iOS/Cells/ActivityTableViewCell.swift +++ b/Passepartout-iOS/Cells/ActivityTableViewCell.swift @@ -30,7 +30,7 @@ extension Cells { } class ActivityTableViewCell: UITableViewCell { - private lazy var activityIndicator = UIActivityIndicatorView(style: .medium) + private lazy var activityIndicator = UIActivityIndicatorView(style: .gray) } extension ActivityTableViewCell { diff --git a/Passepartout-iOS/Scenes/ServiceViewController.swift b/Passepartout-iOS/Scenes/ServiceViewController.swift index 4c9c7b80..ea8db428 100644 --- a/Passepartout-iOS/Scenes/ServiceViewController.swift +++ b/Passepartout-iOS/Scenes/ServiceViewController.swift @@ -404,7 +404,7 @@ class ServiceViewController: UIViewController, StrongTableHost { } if #available(iOS 13, *) { - switch locationManager.authorizationStatus { + switch CLLocationManager.authorizationStatus() { case .authorizedAlways, .authorizedWhenInUse: break diff --git a/Passepartout.xcodeproj/project.pbxproj b/Passepartout.xcodeproj/project.pbxproj index 96f3e462..573e657e 100644 --- a/Passepartout.xcodeproj/project.pbxproj +++ b/Passepartout.xcodeproj/project.pbxproj @@ -1305,6 +1305,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -1363,6 +1364,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_COMPILATION_MODE = wholemodule;