From 73d97e0d16b2be7240c362d76e06bdb1c71cdee8 Mon Sep 17 00:00:00 2001 From: Aiden Vigue Date: Sun, 23 May 2021 19:08:38 -0400 Subject: [PATCH] remove dev overlays --- JellyfinPlayer.xcodeproj/project.pbxproj | 4 ++-- JellyfinPlayer/Info.plist | 2 +- JellyfinPlayer/VideoPlayerView.swift | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/JellyfinPlayer.xcodeproj/project.pbxproj b/JellyfinPlayer.xcodeproj/project.pbxproj index 261adc2b..a2fe326c 100644 --- a/JellyfinPlayer.xcodeproj/project.pbxproj +++ b/JellyfinPlayer.xcodeproj/project.pbxproj @@ -474,7 +474,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 12; + CURRENT_PROJECT_VERSION = 13; DEVELOPMENT_ASSET_PATHS = "\"JellyfinPlayer/Preview Content\""; DEVELOPMENT_TEAM = 9R8RREG67J; ENABLE_BITCODE = NO; @@ -503,7 +503,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 12; + CURRENT_PROJECT_VERSION = 13; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_ASSET_PATHS = "\"JellyfinPlayer/Preview Content\""; DEVELOPMENT_TEAM = 9R8RREG67J; diff --git a/JellyfinPlayer/Info.plist b/JellyfinPlayer/Info.plist index f2636b32..d0f9decb 100644 --- a/JellyfinPlayer/Info.plist +++ b/JellyfinPlayer/Info.plist @@ -19,7 +19,7 @@ CFBundleShortVersionString $(MARKETING_VERSION) CFBundleVersion - 12 + 13 DTXApplicationID 8c1f6941-ec78-480c-b589-b41aca29a52e DTXBeaconURL diff --git a/JellyfinPlayer/VideoPlayerView.swift b/JellyfinPlayer/VideoPlayerView.swift index 4c3108d1..18b766e9 100644 --- a/JellyfinPlayer/VideoPlayerView.swift +++ b/JellyfinPlayer/VideoPlayerView.swift @@ -342,7 +342,7 @@ struct VideoPlayerView: View { VLCPlayer(url: $pbitem, player: $vlcplayer, startTime: Int(item.Progress)).onDisappear(perform: { _isPlaying.wrappedValue = false; vlcplayer.stop() - }).background(Color(UIColor.green).opacity(0.4)) + }) VStack() { HStack() { HStack() { @@ -427,11 +427,10 @@ struct VideoPlayerView: View { } .padding(EdgeInsets(top: 0, leading: UIDevice.current.hasNotch ? -30 : 0, bottom: 0, trailing: UIDevice.current.hasNotch ? -30 : 0)) .frame(maxWidth: .infinity, maxHeight: .infinity) - .background(Color(UIColor.red).opacity(0.4)) + .background(Color(.black).opacity(0.4)) .isHidden(inactivity) }.padding(EdgeInsets(top: 0, leading: UIDevice.current.hasNotch ? 34 : 0, bottom: 0, trailing: UIDevice.current.hasNotch ? 34 : 0)) }.frame(minWidth: 0, maxWidth: .infinity, minHeight: 0, maxHeight: .infinity) - .background(Color(UIColor.blue).opacity(0.4)) .onAppear(perform: startStream) .navigationBarHidden(true) .navigationBarBackButtonHidden(true)