File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ bool HasOpenSystemPreferencesDialog() {
118
118
119
119
// Returns a status indicating whether the user has authorized Bluetooth access.
120
120
std::string BluetoothAuthStatus () {
121
- if (@available (macOS 10.15.0 , *)) {
121
+ if (@available (macOS 10.15 , *)) {
122
122
switch ([CBCentralManager authorization ]) {
123
123
case CBManagerAuthorizationAllowedAlways:
124
124
return kAuthorized ;
@@ -270,6 +270,7 @@ bool HasOpenSystemPreferencesDialog() {
270
270
// access.
271
271
std::string LocationAuthStatus () {
272
272
switch ([CLLocationManager authorizationStatus ]) {
273
+ case kCLAuthorizationStatusAuthorized :
273
274
case kCLAuthorizationStatusAuthorizedAlways :
274
275
return kAuthorized ;
275
276
case kCLAuthorizationStatusDenied :
You can’t perform that action at this time.
0 commit comments