diff --git a/mobile/lib/providers/backup/backup_verification.provider.dart b/mobile/lib/providers/backup/backup_verification.provider.dart index 894b807ec8..7b8e7b8c4b 100644 --- a/mobile/lib/providers/backup/backup_verification.provider.dart +++ b/mobile/lib/providers/backup/backup_verification.provider.dart @@ -35,7 +35,7 @@ class BackupVerification extends _$BackupVerification { return; } final connection = await Connectivity().checkConnectivity(); - if (connection != ConnectivityResult.wifi) { + if (connection.contains(ConnectivityResult.wifi)) { if (context.mounted) { ImmichToast.show( context: context, diff --git a/mobile/pubspec.lock b/mobile/pubspec.lock index d06cbbf036..87aa987df0 100644 --- a/mobile/pubspec.lock +++ b/mobile/pubspec.lock @@ -266,18 +266,18 @@ packages: dependency: "direct main" description: name: connectivity_plus - sha256: "224a77051d52a11fbad53dd57827594d3bd24f945af28bd70bab376d68d437f0" + sha256: "2056db5241f96cdc0126bd94459fc4cdc13876753768fc7a31c425e50a7177d0" url: "https://pub.dev" source: hosted - version: "5.0.2" + version: "6.0.5" connectivity_plus_platform_interface: dependency: transitive description: name: connectivity_plus_platform_interface - sha256: cf1d1c28f4416f8c654d7dc3cd638ec586076255d407cef3ddbdaf178272a71a + sha256: "42657c1715d48b167930d5f34d00222ac100475f73d10162ddf43e714932f204" url: "https://pub.dev" source: hosted - version: "1.2.4" + version: "2.0.1" convert: dependency: transitive description: diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yaml index 35628971bd..fd1634ba07 100644 --- a/mobile/pubspec.yaml +++ b/mobile/pubspec.yaml @@ -48,7 +48,7 @@ dependencies: isar_flutter_libs: ^3.1.0+1 permission_handler: ^11.2.0 device_info_plus: ^10.0.0 - connectivity_plus: ^5.0.2 + connectivity_plus: ^6.0.0 wakelock_plus: ^1.1.4 flutter_local_notifications: ^17.2.1+2 timezone: ^0.9.2