mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
Fix view layout when app returns to foreground
This commit is contained in:
parent
6b2a6573be
commit
1615f5caa9
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