mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 11:22:16 +08:00
@@ -60,10 +60,7 @@ class AudioController extends GetxController
|
||||
final Rx<Duration> position = Duration.zero.obs;
|
||||
final Rx<Duration> duration = Duration.zero.obs;
|
||||
|
||||
late final AnimationController animController = AnimationController(
|
||||
vsync: this,
|
||||
duration: const Duration(milliseconds: 200),
|
||||
);
|
||||
late final AnimationController animController;
|
||||
|
||||
Set<StreamSubscription>? _subscriptions;
|
||||
|
||||
@@ -127,6 +124,11 @@ class AudioController extends GetxController
|
||||
?..onPlay = onPlay
|
||||
..onPause = onPause
|
||||
..onSeek = onSeek;
|
||||
|
||||
animController = AnimationController(
|
||||
vsync: this,
|
||||
duration: const Duration(milliseconds: 200),
|
||||
);
|
||||
}
|
||||
|
||||
Future<void> onPlay() async {
|
||||
|
||||
Reference in New Issue
Block a user