Some minor optimizations to improve UI speed (#593)

## Description
Many tiny changes that improve UI rendering speed and reduces
recompositions

Still plenty of room for improvement though.
This commit is contained in:
Ray 2025-12-29 15:36:05 -05:00 committed by GitHub
parent 622a99631b
commit 243e08b635
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 62 additions and 110 deletions

View file

@ -104,6 +104,16 @@ class TestStreamChoiceServiceBasic(
),
itemPlayback = itemPlayback(subtitleIndex = TrackIndex.UNSPECIFIED),
),
TestInput(
1,
SubtitlePlaybackMode.ALWAYS,
subtitles =
listOf(
subtitle(0, "eng", forced = true, default = true),
subtitle(1, "eng", false),
subtitle(2, "eng", false),
),
),
)
}
}