We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 056d5c9 commit 7063da6Copy full SHA for 7063da6
lib/src/views/chats/chat_list_components/connection_info.comp.dart
@@ -1,3 +1,5 @@
1
+import 'dart:async';
2
+
3
import 'package:flutter/material.dart';
4
import 'package:twonly/src/utils/misc.dart';
5
@@ -46,7 +48,7 @@ class _ConnectionInfoWidgetState extends State<ConnectionInfo>
46
48
// Delay start by 2 seconds
47
49
Future.delayed(const Duration(seconds: 2), () {
50
if (mounted) {
- _controller.repeat(reverse: true);
51
+ unawaited(_controller.repeat(reverse: true));
52
setState(() {
53
showAnimation = true;
54
});
0 commit comments