Skip to content

Commit

Permalink
fix(ios): merged switch statment
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaysingh-axway authored and sgtcoolguy committed Feb 16, 2021
1 parent 8680e78 commit 97d157a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions iphone/Classes/TiAppiOSProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@ - (void)registerUserNotificationSettings:(id)args

if (typesRequested != nil) {
for (id thisTypeRequested in typesRequested) {
// Handle basic iOS 12+ enums
switch ([TiUtils intValue:thisTypeRequested]) {
case UNAuthorizationOptionBadge: // USER_NOTIFICATION_TYPE_BADGE
{
Expand All @@ -450,9 +449,6 @@ - (void)registerUserNotificationSettings:(id)args
types |= UNAuthorizationOptionCarPlay;
break;
}
}

switch ([TiUtils intValue:thisTypeRequested]) {
case UNAuthorizationOptionCriticalAlert: // USER_NOTIFICATION_TYPE_CRITICAL_ALERT
{
types |= UNAuthorizationOptionCriticalAlert;
Expand Down

0 comments on commit 97d157a

Please sign in to comment.