From 7a77a8915bddab99b3e23eca6fb22b6aca3a6c81 Mon Sep 17 00:00:00 2001 From: Aiden Vigue Date: Sat, 22 May 2021 18:49:33 -0400 Subject: [PATCH] Fix TS start time bug for transcoding --- JellyfinPlayer/EpisodeItemView.swift | 2 ++ JellyfinPlayer/MovieItemView.swift | 2 ++ 2 files changed, 4 insertions(+) diff --git a/JellyfinPlayer/EpisodeItemView.swift b/JellyfinPlayer/EpisodeItemView.swift index 3944d2f1..bb8a17ea 100644 --- a/JellyfinPlayer/EpisodeItemView.swift +++ b/JellyfinPlayer/EpisodeItemView.swift @@ -587,6 +587,8 @@ struct EpisodeItemView: View { let rootVC = window?.rootViewController; let UIHostingcontroller: PreferenceUIHostingController = rootVC as! PreferenceUIHostingController; vc = UIHostingcontroller; + }.introspectTabBarController { (UITabBarController) in + UITabBarController.tabBar.isHidden = true } }.onAppear(perform: loadData) } diff --git a/JellyfinPlayer/MovieItemView.swift b/JellyfinPlayer/MovieItemView.swift index 3f28e699..9a620bf6 100644 --- a/JellyfinPlayer/MovieItemView.swift +++ b/JellyfinPlayer/MovieItemView.swift @@ -632,6 +632,8 @@ struct MovieItemView: View { let rootVC = window?.rootViewController; let UIHostingcontroller: PreferenceUIHostingController = rootVC as! PreferenceUIHostingController; vc = UIHostingcontroller; + }.introspectTabBarController { (UITabBarController) in + UITabBarController.tabBar.isHidden = false } }.onAppear(perform: loadData) }