diff --git a/Shared/Player/VideoDetails.swift b/Shared/Player/VideoDetails.swift index 746ded8b..2555366f 100644 --- a/Shared/Player/VideoDetails.swift +++ b/Shared/Player/VideoDetails.swift @@ -204,8 +204,10 @@ struct VideoDetails: View { VStack(alignment: .leading, spacing: 10) { if !player.videoBeingOpened.isNil && (video.description.isNil || video.description!.isEmpty) { VStack(alignment: .leading, spacing: 0) { - Text(String(repeating: Video.fixture.description ?? "", count: Int.random(in: 1 ... 30))) - .redacted(reason: .placeholder) + ForEach(1 ... Int.random(in: 3 ... 5), id: \.self) { _ in + Text(String(repeating: Video.fixture.description!, count: Int.random(in: 1 ... 4))) + .redacted(reason: .placeholder) + } } } else if let description = video.description { Group { diff --git a/Shared/Player/VideoPlayerView.swift b/Shared/Player/VideoPlayerView.swift index 51415cca..4dff939a 100644 --- a/Shared/Player/VideoPlayerView.swift +++ b/Shared/Player/VideoPlayerView.swift @@ -235,7 +235,6 @@ struct VideoPlayerView: View { VStack(spacing: 0) { #if os(iOS) VideoDetails(sidebarQueue: sidebarQueue, fullScreen: $fullScreenDetails) - .edgesIgnoringSafeArea(.bottom) #else VideoDetails(sidebarQueue: sidebarQueue, fullScreen: $fullScreenDetails) #endif diff --git a/Yattee.xcodeproj/project.pbxproj b/Yattee.xcodeproj/project.pbxproj index 28f4177a..a8d95650 100644 --- a/Yattee.xcodeproj/project.pbxproj +++ b/Yattee.xcodeproj/project.pbxproj @@ -3663,7 +3663,7 @@ INFOPLIST_KEY_NSCameraUsageDescription = "Need camera access to take pictures"; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES; - INFOPLIST_KEY_UIRequiresFullScreen = NO; + INFOPLIST_KEY_UIRequiresFullScreen = YES; INFOPLIST_KEY_UIStatusBarHidden = NO; INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortraitUpsideDown"; IPHONEOS_DEPLOYMENT_TARGET = 14.0; @@ -3705,7 +3705,7 @@ INFOPLIST_KEY_NSCameraUsageDescription = "Need camera access to take pictures"; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES; - INFOPLIST_KEY_UIRequiresFullScreen = NO; + INFOPLIST_KEY_UIRequiresFullScreen = YES; INFOPLIST_KEY_UIStatusBarHidden = NO; INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortraitUpsideDown"; IPHONEOS_DEPLOYMENT_TARGET = 14.0;