orientation bug
This commit is contained in:
parent
6bfd0c4fc6
commit
58a39eb11f
|
@ -26,15 +26,14 @@ struct ItemView: View {
|
||||||
if(playback.shouldPlay) {
|
if(playback.shouldPlay) {
|
||||||
LoadingViewNoBlur(isShowing: $shouldShowLoadingView) {
|
LoadingViewNoBlur(isShowing: $shouldShowLoadingView) {
|
||||||
VLCPlayerWithControls(item: playback.itemToPlay, loadBinding: $shouldShowLoadingView, pBinding: _playback.projectedValue.shouldPlay)
|
VLCPlayerWithControls(item: playback.itemToPlay, loadBinding: $shouldShowLoadingView, pBinding: _playback.projectedValue.shouldPlay)
|
||||||
.navigationBarHidden(true)
|
}.navigationBarHidden(true)
|
||||||
.navigationBarBackButtonHidden(true)
|
.navigationBarBackButtonHidden(true)
|
||||||
.statusBar(hidden: true)
|
.statusBar(hidden: true)
|
||||||
.prefersHomeIndicatorAutoHidden(true)
|
.prefersHomeIndicatorAutoHidden(true)
|
||||||
.preferredColorScheme(.dark)
|
.preferredColorScheme(.dark)
|
||||||
.edgesIgnoringSafeArea(.all)
|
.edgesIgnoringSafeArea(.all)
|
||||||
.overrideViewPreference(.unspecified)
|
.overrideViewPreference(.unspecified)
|
||||||
.supportedOrientations(.landscape)
|
.supportedOrientations(.landscape)
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
Group {
|
Group {
|
||||||
if(item.Type == "Movie") {
|
if(item.Type == "Movie") {
|
||||||
|
|
Loading…
Reference in New Issue