Skip to content

Commit

Permalink
Removing iOS9 code remnants (16)
Browse files Browse the repository at this point in the history
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: Iacb8fa5fc1ddf0999a602c0509cc4fdd46b0a116
Reviewed-on: https://chromium-review.googlesource.com/986433
Reviewed-by: Olivier Robin <olivierrobin@chromium.org>
Commit-Queue: Eric Noyau <noyau@chromium.org>
Cr-Commit-Position: refs/heads/master@{#546826}
  • Loading branch information
e-noyau authored and Commit Bot committed Mar 29, 2018
1 parent ad1fa4c commit 5c21746
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,8 @@ - (void)viewWillTransitionToSize:(CGSize)size
(id<UIViewControllerTransitionCoordinator>)coordinator {
[super viewWillTransitionToSize:size withTransitionCoordinator:coordinator];

BOOL isCompact = NO;
if (@available(iOS 10, *)) {
isCompact = [self.extensionContext widgetActiveDisplayMode] ==
NCWidgetDisplayModeCompact;
}
BOOL isCompact = [self.extensionContext widgetActiveDisplayMode] ==
NCWidgetDisplayModeCompact;

[coordinator
animateAlongsideTransition:^(
Expand Down

0 comments on commit 5c21746

Please sign in to comment.