Skip to content

Commit

Permalink
fix(conditions): Change from ifdef to if due to variable always being…
Browse files Browse the repository at this point in the history
… defined (#11258)
  • Loading branch information
vijaysingh-axway authored and ssekhri committed Oct 2, 2019
1 parent 9ca5864 commit da45e5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion iphone/Classes/TiUIApplicationShortcutsProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ - (UIApplicationShortcutIcon *)findIcon:(id)value
return [UIApplicationShortcutIcon iconWithTemplateImageName:[self urlInAssetCatalog:value]];
}

#ifdef IS_SDK_IOS_13
#if IS_SDK_IOS_13
if ([value isKindOfClass:[TiBlob class]] && [TiUtils isIOSVersionOrGreater:@"13.0"]) {
TiBlob *blob = (TiBlob *)value;
if (blob.type == TiBlobTypeSystemImage) {
Expand Down
2 changes: 1 addition & 1 deletion iphone/Classes/TiUIiOSApplicationShortcutsProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ - (UIApplicationShortcutIcon *)findIcon:(id)value
return [UIApplicationShortcutIcon iconWithTemplateImageName:[self urlInAssetCatalog:value]];
}

#ifdef IS_SDK_IOS_13
#if IS_SDK_IOS_13
if ([value isKindOfClass:[TiBlob class]] && [TiUtils isIOSVersionOrGreater:@"13.0"]) {
TiBlob *blob = (TiBlob *)value;
if (blob.type == TiBlobTypeSystemImage) {
Expand Down

0 comments on commit da45e5f

Please sign in to comment.