mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix: Android platform.screen.mainScreen props are not invalidated after orientation change
Resolves #3270
This commit is contained in:
@@ -148,6 +148,7 @@ function initComponentCallbacks() {
|
||||
break;
|
||||
}
|
||||
|
||||
appModule._onOrientationChanged();
|
||||
typedExports.notify(<definition.OrientationChangedEventData>{
|
||||
eventName: typedExports.orientationChangedEvent,
|
||||
android: androidApp.nativeApp,
|
||||
|
||||
Reference in New Issue
Block a user