Skip to content

Commit 05e5e82

Browse files
Remove unneeded and unsupported uikit call
1 parent 6b2a97e commit 05e5e82

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Monal/Classes/AVCallUI.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,6 @@ struct AVCallUI: View {
545545
}
546546
.onAppear {
547547
//force portrait mode and lock ui there
548-
UIDevice.current.setValue(UIInterfaceOrientation.portrait.rawValue, forKey: "orientation")
549548
self.appDelegate.obj.orientationLock = .portrait
550549
UIApplication.shared.isIdleTimerDisabled = true
551550

0 commit comments

Comments
 (0)