mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-16 07:06:14 +08:00
opt change episode
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -26,7 +26,7 @@ class BackwardSeekIndicatorState extends State<BackwardSeekIndicator> {
|
||||
super.initState();
|
||||
duration = Duration(seconds: widget.duration);
|
||||
timer = Timer(const Duration(milliseconds: 400), () {
|
||||
widget.onSubmitted.call(duration);
|
||||
widget.onSubmitted(duration);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ class BackwardSeekIndicatorState extends State<BackwardSeekIndicator> {
|
||||
void increment() {
|
||||
timer?.cancel();
|
||||
timer = Timer(const Duration(milliseconds: 400), () {
|
||||
widget.onSubmitted.call(duration);
|
||||
widget.onSubmitted(duration);
|
||||
});
|
||||
setState(() {
|
||||
duration += Duration(seconds: widget.duration);
|
||||
|
||||
@@ -26,7 +26,7 @@ class ForwardSeekIndicatorState extends State<ForwardSeekIndicator> {
|
||||
super.initState();
|
||||
duration = Duration(seconds: widget.duration);
|
||||
timer = Timer(const Duration(milliseconds: 400), () {
|
||||
widget.onSubmitted.call(duration);
|
||||
widget.onSubmitted(duration);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ class ForwardSeekIndicatorState extends State<ForwardSeekIndicator> {
|
||||
void increment() {
|
||||
timer?.cancel();
|
||||
timer = Timer(const Duration(milliseconds: 400), () {
|
||||
widget.onSubmitted.call(duration);
|
||||
widget.onSubmitted(duration);
|
||||
});
|
||||
setState(() {
|
||||
duration += Duration(seconds: widget.duration);
|
||||
|
||||
Reference in New Issue
Block a user