|
|
|
@@ -773,7 +773,6 @@ MultiTouchMapper<UITouch*> UIViewComponentPeer::currentTouches; |
|
|
|
{
|
|
|
|
[super traitCollectionDidChange: previousTraitCollection];
|
|
|
|
|
|
|
|
#if defined (__IPHONE_12_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_12_0
|
|
|
|
if (@available (iOS 12.0, *))
|
|
|
|
{
|
|
|
|
const auto wasDarkModeActive = ([previousTraitCollection userInterfaceStyle] == UIUserInterfaceStyleDark);
|
|
|
|
@@ -782,7 +781,6 @@ MultiTouchMapper<UITouch*> UIViewComponentPeer::currentTouches; |
|
|
|
[[NSNotificationCenter defaultCenter] postNotificationName: UIViewComponentPeer::getDarkModeNotificationName()
|
|
|
|
object: nil];
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
- (BOOL) isAccessibilityElement
|
|
|
|
|