mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
f7a550224003807a7d88c445125d91c901f7d168
The mini player's enter spec was decided from `firstReveal`, which was false at the first composition (the player is not visible yet) and flipped back to `expandVertically` in the same frame the visibility changed, so the expand animation always ran. PlaybackState now carries `restored`, set by restore() and cleared on any user playback, and the mini player uses it to appear in place for the whole restored session. The first play after a restart could still pay for a fresh buffer because a stream-quality reload rebuilds the window, and loadWindow only prepared when autoplay was set. It now always prepares, so a reload (or the restore) leaves the current track buffered.
Languages
Kotlin
99.1%
Nushell
0.7%
Nix
0.1%