File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
1
import 'dart:async' ;
2
- import 'dart:developer' ;
3
2
import 'dart:math' as math;
4
3
import 'dart:ui' as ui;
5
4
@@ -757,8 +756,7 @@ class _CupertinoControlsState extends State<CupertinoControls>
757
756
final skip =
758
757
(_latestValue.position - const Duration (seconds: 15 )).inMilliseconds;
759
758
controller.seekTo (Duration (milliseconds: math.max (skip, beginning)));
760
- log ("Reversing the video" , name: "Video Player" );
761
- Future .delayed (const Duration (milliseconds: 200 ), () {
759
+ Future .delayed (const Duration (milliseconds: 100 ), () {
762
760
controller.setPlaybackSpeed (selectedSpeed);
763
761
});
764
762
}
@@ -769,9 +767,7 @@ class _CupertinoControlsState extends State<CupertinoControls>
769
767
final skip =
770
768
(_latestValue.position + const Duration (seconds: 15 )).inMilliseconds;
771
769
controller.seekTo (Duration (milliseconds: math.min (skip, end)));
772
-
773
- log ("Forwaring the video" , name: "Video Player" );
774
- Future .delayed (const Duration (milliseconds: 200 ), () {
770
+ Future .delayed (Duration (milliseconds: 100 ), () {
775
771
controller.setPlaybackSpeed (selectedSpeed);
776
772
});
777
773
}
You can’t perform that action at this time.
0 commit comments