From 5e30cd6158e78ce4ba131791e1db3bf840089815 Mon Sep 17 00:00:00 2001 From: Thiago Carvalho Date: Thu, 21 Dec 2023 17:24:05 -0300 Subject: [PATCH] Update sync_cubit.dart --- lib/blocs/sync/sync_cubit.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/blocs/sync/sync_cubit.dart b/lib/blocs/sync/sync_cubit.dart index 7fb5384a8b..f6009e869d 100644 --- a/lib/blocs/sync/sync_cubit.dart +++ b/lib/blocs/sync/sync_cubit.dart @@ -87,8 +87,9 @@ class SyncCubit extends Cubit { _configService = configService, _tabVisibility = tabVisibility, super(SyncIdle()) { + // TODO: verify if (_blockSync) { - Future.delayed(Duration(seconds: 1000), () { + Future.delayed(const Duration(seconds: 1000), () { _blockSync = false; // startSync(); });