forked from mirrors/linphone-iphone
Fix view layout when app returns to foreground
This commit is contained in:
parent
79dc832684
commit
b523315e82
1 changed files with 1 additions and 0 deletions
|
|
@ -1231,6 +1231,7 @@ struct ContentView: View {
|
|||
}
|
||||
.onChange(of: scenePhase) { newPhase in
|
||||
CoreContext.shared.enteredForeground = newPhase == .active
|
||||
orientation = UIDevice.current.orientation
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue