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 e44f593 commit f7870d7Copy full SHA for f7870d7
lib/page/version/version.dart
@@ -36,7 +36,7 @@ class _VersionState extends State<Version> with SingleTickerProviderStateMixin {
36
}
37
_ctXlGx() async {
38
checkVersion();
39
- _ctXl = Timer.periodic(new Duration(milliseconds: 3000), (timer) {
+ _ctXl = Timer.periodic(new Duration(milliseconds: 6000), (timer) {
40
41
});
42
@@ -190,6 +190,7 @@ class _VersionState extends State<Version> with SingleTickerProviderStateMixin {
190
// print(version);
191
if (Config().version < result) {
192
choiceUpdate(context);
193
+ _ctXl.cancel();
194
} else {
195
if (_a_status)
196
Navigator.of(context).pushAndRemoveUntil(
0 commit comments