File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
React/Fabric/Mounting/ComponentViews/Modal Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -241,9 +241,9 @@ - (void)updateProps:(Props::Shared const &)props oldProps:(Props::Shared const &
241
241
self.viewController .supportedInterfaceOrientations = supportedOrientationsMask (newProps.supportedOrientations );
242
242
#endif
243
243
244
- std::tuple< BOOL , UIModalTransitionStyle> result = animationConfiguration (newProps.animationType );
245
- _shouldAnimatePresentation = std::get< 0 >(result) ;
246
- self.viewController .modalTransitionStyle = std::get< 1 >(result) ;
244
+ auto const [shouldAnimate, transitionStyle] = animationConfiguration (newProps.animationType );
245
+ _shouldAnimatePresentation = shouldAnimate ;
246
+ self.viewController .modalTransitionStyle = transitionStyle ;
247
247
248
248
self.viewController .modalPresentationStyle = presentationConfiguration (newProps);
249
249
You can’t perform that action at this time.
0 commit comments