File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -492,14 +492,9 @@ - (void)setModalViewControllers:(NSArray<UIViewController *> *)controllers
492492 UIViewController *next = controllers[i];
493493 BOOL lastModal = (i == controllers.count - 1 );
494494
495- #if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && defined(__IPHONE_13_0) && \
496- __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_13_0
497- if (@available (iOS 13.0 , tvOS 13.0 , *)) {
498- // Inherit UI style from its parent - solves an issue with incorrect style being applied to some UIKit views
499- // like date picker or segmented control.
500- next.overrideUserInterfaceStyle = self->_controller .overrideUserInterfaceStyle ;
501- }
502- #endif
495+ // Inherit UI style from its parent - solves an issue with incorrect style being applied to some UIKit views
496+ // like date picker or segmented control.
497+ next.overrideUserInterfaceStyle = self->_controller .overrideUserInterfaceStyle ;
503498
504499 BOOL shouldAnimate = lastModal && [next isKindOfClass: [RNSScreen class ]] &&
505500 ((RNSScreen *)next).screenView .stackAnimation != RNSScreenStackAnimationNone;
You can’t perform that action at this time.
0 commit comments