From 62c5e324b6319d183a252aeed857a7a9afe360c9 Mon Sep 17 00:00:00 2001 From: fuwa Date: Thu, 27 Jun 2019 02:20:02 +0800 Subject: [PATCH] clean from debug --- cyberwow/lib/state.dart | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cyberwow/lib/state.dart b/cyberwow/lib/state.dart index 619725a..328196f 100644 --- a/cyberwow/lib/state.dart +++ b/cyberwow/lib/state.dart @@ -174,11 +174,6 @@ class SyncingState extends HookedState { break; } // print('syncing: checkSync loop'); - - if (isPC) { - synced = true; - break; - } } } @@ -234,7 +229,7 @@ class SyncedState extends HookedState { Future checkSync() async { await for (var _null in refresh.pull(getNotification)) { - if (await daemon.isNotSynced() && (!isPC)) { + if (await daemon.isNotSynced()) { synced = false; break; }