Skip to content

Commit

Permalink
fix: add missing PHAuthorizationStatusLimited case
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed May 26, 2022
1 parent 4eb156b commit 5017605
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions permissions.mm
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ PHAccessLevel GetPHAccessLevel(const std::string &type)
return kDenied;
case PHAuthorizationStatusRestricted:
return kRestricted;
case PHAuthorizationStatusLimited:
return kLimited;
default:
return kNotDetermined;
}
Expand Down

0 comments on commit 5017605

Please sign in to comment.