Skip to content

Commit

Permalink
Fix bad merge on Ti.Ui.Window.safeArea code to remove ifdef no longer…
Browse files Browse the repository at this point in the history
… used
  • Loading branch information
sgtcoolguy committed Oct 1, 2018
1 parent 246870a commit 4a30ae7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -1492,7 +1492,6 @@ - (void)_initWithProperties:(NSDictionary *)properties

- (void)createSafeAreaViewProxyForWindowProperties:(NSDictionary *)properties
{
#ifdef USE_TI_UIWINDOW
if ([self isKindOfClass:[TiUIWindowProxy class]] && [TiUtils isIOSVersionOrGreater:@"11.0"]) {
/*
Added a transparent safeAreaViewProxy above window for safe area layouts if shouldExtendSafeArea is false. All views added on window will be added on safeAreaViewProxy. Layouts of safeAreaViewProxy is getting modified wherever required.
Expand All @@ -1517,7 +1516,6 @@ - (void)createSafeAreaViewProxyForWindowProperties:(NSDictionary *)properties
[self add:windowProxy.safeAreaViewProxy];
}
}
#endif
}

- (void)dealloc
Expand Down

0 comments on commit 4a30ae7

Please sign in to comment.