fixing analyzer

This commit is contained in:
otsmr 2025-10-17 00:06:58 +02:00
parent 056d5c90f3
commit 7063da6a2b

View file

@ -1,3 +1,5 @@
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:twonly/src/utils/misc.dart';
@ -46,7 +48,7 @@ class _ConnectionInfoWidgetState extends State<ConnectionInfo>
// Delay start by 2 seconds
Future.delayed(const Duration(seconds: 2), () {
if (mounted) {
_controller.repeat(reverse: true);
unawaited(_controller.repeat(reverse: true));
setState(() {
showAnimation = true;
});