Skip to content

Commit

Permalink
Update sync_cubit.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagocarvalhodev committed Dec 21, 2023
1 parent ecb519e commit 5e30cd6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/blocs/sync/sync_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ class SyncCubit extends Cubit<SyncState> {
_configService = configService,
_tabVisibility = tabVisibility,
super(SyncIdle()) {
// TODO: verify
if (_blockSync) {
Future.delayed(Duration(seconds: 1000), () {
Future.delayed(const Duration(seconds: 1000), () {
_blockSync = false;
// startSync();
});
Expand Down

0 comments on commit 5e30cd6

Please sign in to comment.