Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 4e0c788

Browse files
committed
added back improved log message
1 parent 5e3dae8 commit 4e0c788

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shell/platform/darwin/ios/framework/Source/FlutterViewController.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1874,8 +1874,8 @@ - (void)performOrientationUpdate:(UIInterfaceOrientationMask)new_preferences {
18741874
if (@available(iOS 13.0, *)) {
18751875
UIWindowScene* windowScene = [self windowSceneIfViewLoaded];
18761876
if (!windowScene) {
1877-
// When the view is not loaded, it does not make sense to access the interface
1878-
// orientation, bail.
1877+
FML_LOG(WARNING)
1878+
<< "Accessing the interface orientation when the window scene is unavailable.";
18791879
return;
18801880
}
18811881
currentInterfaceOrientation = 1 << windowScene.interfaceOrientation;

0 commit comments

Comments
 (0)