jellyflood/Swiftfin tvOS/Views/ItemView
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
..
CollectionItemView Refactor `PosterButton` and libraries, good `UICollectionView`s, proper orientation handling, and more (#905) 2024-03-11 08:09:30 -06:00
Components [tvOS] Episode/Season Focus gets Stuck (#1185) 2024-08-16 12:30:15 -06:00
EpisodeItemView Update tvOS `onChange` (#1141) 2024-07-02 12:39:52 +09:00
MovieItemView Refactor `PosterButton` and libraries, good `UICollectionView`s, proper orientation handling, and more (#905) 2024-03-11 08:09:30 -06:00
ScrollViews Update tvOS `onChange` (#1141) 2024-07-02 12:39:52 +09:00
SeriesItemView Item Views to `Stateful` (#997) 2024-04-01 00:48:41 -06:00
CinematicCollectionItemView.swift Update 2024 headers (#951) 2024-01-13 15:13:44 -07:00
CinematicEpisodeItemView.swift Update 2024 headers (#951) 2024-01-13 15:13:44 -07:00
CinematicItemAboutView.swift Update 2024 headers (#951) 2024-01-13 15:13:44 -07:00
CinematicItemViewTopRow.swift Update 2024 headers (#951) 2024-01-13 15:13:44 -07:00
CinematicSeasonItemView.swift Update 2024 headers (#951) 2024-01-13 15:13:44 -07:00
ItemView.swift User/Server Sign In Redesign (#1045) 2024-05-14 23:42:41 -06:00