diff --git a/lib/components/busy_wrapper.dart b/lib/components/busy_wrapper.dart index 05992fc..95ea1dd 100644 --- a/lib/components/busy_wrapper.dart +++ b/lib/components/busy_wrapper.dart @@ -51,7 +51,7 @@ class _BusyWrapperState extends State with TickerProviderStateMixin void _startAnimation() { _stopAnimation(); - timer = Timer(const Duration(milliseconds: 800), () { + timer = Timer(const Duration(milliseconds: 1000), () { _primaryController.forward(from: 0); _secondaryController.forward(from: 0); setState(() { @@ -81,12 +81,6 @@ class _BusyWrapperState extends State with TickerProviderStateMixin super.dispose(); } - @override - void didUpdateWidget(covariant BusyWrapper oldWidget) { - _startAnimation(); - super.didUpdateWidget(oldWidget); - } - void stop() async { _stopAnimation(); mopidyService.stop();