Skip to content

Commit

Permalink
[download] fix #171 (video dl qualities out of dialog)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrightDV committed Jul 16, 2024
1 parent b1fec3d commit 1fed6a8
Showing 1 changed file with 36 additions and 33 deletions.
69 changes: 36 additions & 33 deletions lib/helpers/download.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,39 +58,42 @@ class DownloadUtils {
),
textAlign: TextAlign.center,
),
content: Row(
children: [
Radio(
value: "180",
groupValue: selectedQuality,
onChanged: (String? value) => setState(() {
selectedQuality = value!;
}),
),
Text(
'180p',
),
Radio(
value: "360",
groupValue: selectedQuality,
onChanged: (String? value) => setState(() {
selectedQuality = value!;
}),
),
Text(
'360p',
),
Radio(
value: "720",
groupValue: selectedQuality,
onChanged: (String? value) => setState(() {
selectedQuality = value!;
}),
),
Text(
'720p',
),
],
content: SingleChildScrollView(
scrollDirection: Axis.horizontal,
child: Row(
children: [
Radio(
value: "180",
groupValue: selectedQuality,
onChanged: (String? value) => setState(() {
selectedQuality = value!;
}),
),
Text(
'180p',
),
Radio(
value: "360",
groupValue: selectedQuality,
onChanged: (String? value) => setState(() {
selectedQuality = value!;
}),
),
Text(
'360p',
),
Radio(
value: "720",
groupValue: selectedQuality,
onChanged: (String? value) => setState(() {
selectedQuality = value!;
}),
),
Text(
'720p',
),
],
),
),
actions: <Widget>[
ElevatedButton(
Expand Down

0 comments on commit 1fed6a8

Please sign in to comment.