mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 13:08:42 +00:00
fixing analyzer
This commit is contained in:
parent
056d5c90f3
commit
7063da6a2b
1 changed files with 3 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
|
import 'dart:async';
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:twonly/src/utils/misc.dart';
|
import 'package:twonly/src/utils/misc.dart';
|
||||||
|
|
||||||
|
|
@ -46,7 +48,7 @@ class _ConnectionInfoWidgetState extends State<ConnectionInfo>
|
||||||
// Delay start by 2 seconds
|
// Delay start by 2 seconds
|
||||||
Future.delayed(const Duration(seconds: 2), () {
|
Future.delayed(const Duration(seconds: 2), () {
|
||||||
if (mounted) {
|
if (mounted) {
|
||||||
_controller.repeat(reverse: true);
|
unawaited(_controller.repeat(reverse: true));
|
||||||
setState(() {
|
setState(() {
|
||||||
showAnimation = true;
|
showAnimation = true;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue