jellyflood/Swiftfin tvOS/Views/ItemView/Components
Joe 11c25648bf
[tvOS] Episode/Season Focus gets Stuck (#1185)
* Focus on the first element if the lastFocusedEpisodeId isn't in the viewModel.

* Performance Improvements:
- Optimized Lookup:  Used a Set for efficient checking of whether lastFocusedEpisodeID exists in viewModel.elements.
- Single Pass:  Reduced the number of passes needed to check for existence and set the focusedEpisodeID.

* https://github.com/jellyfin/Swiftfin/pull/1185#pullrequestreview-2241625398 Suggestions

---------

Co-authored-by: Joseph Kribs <joseph@kribs.net>
2024-08-16 12:30:15 -06:00
..
AboutView Refactor `PosterButton` and libraries, good `UICollectionView`s, proper orientation handling, and more (#905) 2024-03-11 08:09:30 -06:00
EpisodeSelector [tvOS] Episode/Season Focus gets Stuck (#1185) 2024-08-16 12:30:15 -06:00
ActionButtonHStack.swift User/Server Sign In Redesign (#1045) 2024-05-14 23:42:41 -06:00
AttributeHStack.swift Update 2024 headers (#951) 2024-01-13 15:13:44 -07:00
CastAndCrewHStack.swift Refactor `PosterButton` and libraries, good `UICollectionView`s, proper orientation handling, and more (#905) 2024-03-11 08:09:30 -06:00
PlayButton.swift Migrate to the latest version of Factory (#1097) 2024-07-01 19:58:59 -06:00
SimilarItemsHStack.swift Refactor `PosterButton` and libraries, good `UICollectionView`s, proper orientation handling, and more (#905) 2024-03-11 08:09:30 -06:00
SpecialFeaturesHStack.swift Update 2024 headers (#951) 2024-01-13 15:13:44 -07:00