diff --git a/lib/blocs/sync/sync_cubit.dart b/lib/blocs/sync/sync_cubit.dart index 9687ba3460..acfddcf78c 100644 --- a/lib/blocs/sync/sync_cubit.dart +++ b/lib/blocs/sync/sync_cubit.dart @@ -284,8 +284,6 @@ class SyncCubit extends Cubit { _syncProgress = _syncProgress.copyWith(drivesCount: drives.length); - syncFormatedPrint('Current block height number $currentBlockHeight'); - final driveSyncProcesses = drives.map((drive) => _syncDrive( drive.id, lastBlockHeight: calculateSyncLastBlockHeight( @@ -582,7 +580,6 @@ class SyncCubit extends Cubit { 200 ~/ (_syncProgress.drivesCount - _syncProgress.drivesSynced); var currentDriveEntitiesSynced = 0; var driveSyncProgress = 0.0; - syncFormatedPrint( 'number of drives at get metadata phase : ${_syncProgress.numberOfDrivesAtGetMetadataPhase}'); diff --git a/lib/pages/app_router_delegate.dart b/lib/pages/app_router_delegate.dart index 391159adcf..9d69e1fece 100644 --- a/lib/pages/app_router_delegate.dart +++ b/lib/pages/app_router_delegate.dart @@ -86,7 +86,11 @@ class AppRouterDelegate extends RouterDelegate // TODO: Find a better place to do this final lastLoggedInUser = state is ProfileLoggedIn ? state.walletAddress : null; - context.read().deleteSharedPrivateDrives(lastLoggedInUser); + if (lastLoggedInUser != null) { + context + .read() + .deleteSharedPrivateDrives(lastLoggedInUser); + } }, builder: (context, state) { Widget? shell; diff --git a/pubspec.yaml b/pubspec.yaml index 469a339f9c..05c7acaee2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: Secure, permanent storage publish_to: 'none' -version: 1.26.1 +version: 1.26.2 environment: sdk: '>=2.15.0 <3.0.0'