feature: Version selection (#235)

Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
PartyDonut 2025-02-23 15:53:17 +01:00 committed by GitHub
parent 935d6fe176
commit f0414439f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 142 additions and 60 deletions

View file

@ -131,6 +131,9 @@ class _ItemDetailScreenState extends ConsumerState<EpisodeDetailScreen> {
padding: padding,
child: MediaStreamInformation(
mediaStream: details.episode!.mediaStreams,
onVersionIndexChanged: (index) {
ref.read(providerInstance.notifier).setVersionIndex(index);
},
onSubIndexChanged: (index) {
ref.read(providerInstance.notifier).setSubIndex(index);
},