Skip to content

Commit

Permalink
Fixes comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
nokeeo committed Jan 14, 2024
1 parent cd42e87 commit dbb9c6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Shared/Coordinators/VideoPlayerCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ final class VideoPlayerCoordinator: NavigationCoordinatable {
AppDelegate.enterPlaybackOrientation()
}

#else // os(iOS)
#else
if Defaults[.VideoPlayer.videoPlayerType] == .swiftfin {
PreferenceUIHostingControllerView {
Group {
Expand All @@ -56,6 +56,6 @@ final class VideoPlayerCoordinator: NavigationCoordinatable {
} else {
NativeVideoPlayer(manager: self.videoPlayerManager)
}
#endif // os(iOS)
#endif
}
}
1 change: 1 addition & 0 deletions Swiftfin tvOS/Views/VideoPlayer/NativeVideoPlayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ struct NativeVideoPlayer: View {
if let _ = videoPlayerManager.currentViewModel {
playerView
} else {
// TODO: Implement more polished loading screen.
Text("Loading")
}
}
Expand Down

0 comments on commit dbb9c6d

Please sign in to comment.