* 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> |
||
---|---|---|
.. | ||
AboutView | ||
EpisodeSelector | ||
ActionButtonHStack.swift | ||
AttributeHStack.swift | ||
CastAndCrewHStack.swift | ||
PlayButton.swift | ||
SimilarItemsHStack.swift | ||
SpecialFeaturesHStack.swift |