feature: Ask for playback type when media is downloaded (#361)

Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
PartyDonut 2025-06-01 17:05:16 +02:00 committed by GitHub
parent 563d267566
commit 5ef7936c33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 194 additions and 148 deletions

View file

@ -461,14 +461,14 @@ class _DesktopControlsState extends ConsumerState<DesktopControls> {
),
),
const Spacer(),
if (playbackModel.label != null)
if (playbackModel != null)
InkWell(
onTap: () => showVideoPlaybackInformation(context),
child: Card(
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
child: Text(
playbackModel?.label ?? "",
playbackModel.label(context) ?? "",
),
),
),