Skip to content

Commit 8c27fc4

Browse files
Remove duplicate completionHandler call
1 parent 682478a commit 8c27fc4

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

permission_handler_apple/ios/Classes/strategies/SensorPermissionStrategy.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ - (void)checkServiceStatus:(PermissionGroup)permission completionHandler:(Servic
1717
? ServiceStatusEnabled
1818
: ServiceStatusDisabled
1919
);
20-
21-
completionHandler(ServiceStatusDisabled);
2220
}
2321

2422
- (void)requestPermission:(PermissionGroup)permission completionHandler:(PermissionStatusHandler)completionHandler errorHandler:(PermissionErrorHandler)errorHandler {

0 commit comments

Comments
 (0)