improve ui

This commit is contained in:
2024-11-05 16:50:32 +08:00
parent b09e2e6f12
commit a6608b6fa2
3 changed files with 8 additions and 6 deletions

View File

@@ -178,7 +178,7 @@ class _MyAppState extends State<MyApp> {
var lastCheck = appdata.implicitData['lastCheckUpdate'] ?? 0;
var now = DateTime.now().millisecondsSinceEpoch;
if(now - lastCheck < 24 * 60 * 60 * 1000) {
// return;
return;
}
appdata.implicitData['lastCheckUpdate'] = now;
appdata.writeImplicitData();