Skip to content

Commit

Permalink
fix: removed old code
Browse files Browse the repository at this point in the history
  • Loading branch information
henri2h committed Apr 4, 2022
1 parent 8f03ba0 commit b2ea6eb
Showing 1 changed file with 12 additions and 21 deletions.
33 changes: 12 additions & 21 deletions example/lib/app/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -308,28 +308,19 @@ class _ChewieDemoState extends State<ChewieDemo> {
),
ListTile(
title: const Text("Delay"),
subtitle: Column(
children: [
DelaySlider(
delay: _chewieController?.progressIndicatorDelayMS,
onSave: (delay) async {
if (delay != null) {
if (delay == 0) {
bufferDelay = null;
} else {
bufferDelay = delay;
}
subtitle: DelaySlider(
delay: _chewieController?.progressIndicatorDelayMS,
onSave: (delay) async {
if (delay != null) {
if (delay == 0) {
bufferDelay = null;
} else {
bufferDelay = delay;
}

await initializePlayer();
}
},
),
Text(
_chewieController?.progressIndicatorDelayMS != null
? "Progress indicator delay ${_chewieController!.progressIndicatorDelayMS.toString()} MS"
: "Set me",
),
],
await initializePlayer();
}
},
),
)
],
Expand Down

0 comments on commit b2ea6eb

Please sign in to comment.