Skip to content

Commit 0454863

Browse files
fix(deps): update dependency connectivity_plus to v6 (immich-app#13115)
* fix(deps): update dependency connectivity_plus to v6 * update api --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Alex <[email protected]>
1 parent 432bcbb commit 0454863

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

mobile/lib/providers/backup/backup_verification.provider.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class BackupVerification extends _$BackupVerification {
3535
return;
3636
}
3737
final connection = await Connectivity().checkConnectivity();
38-
if (connection != ConnectivityResult.wifi) {
38+
if (connection.contains(ConnectivityResult.wifi)) {
3939
if (context.mounted) {
4040
ImmichToast.show(
4141
context: context,

mobile/pubspec.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -266,18 +266,18 @@ packages:
266266
dependency: "direct main"
267267
description:
268268
name: connectivity_plus
269-
sha256: "224a77051d52a11fbad53dd57827594d3bd24f945af28bd70bab376d68d437f0"
269+
sha256: "2056db5241f96cdc0126bd94459fc4cdc13876753768fc7a31c425e50a7177d0"
270270
url: "https://pub.dev"
271271
source: hosted
272-
version: "5.0.2"
272+
version: "6.0.5"
273273
connectivity_plus_platform_interface:
274274
dependency: transitive
275275
description:
276276
name: connectivity_plus_platform_interface
277-
sha256: cf1d1c28f4416f8c654d7dc3cd638ec586076255d407cef3ddbdaf178272a71a
277+
sha256: "42657c1715d48b167930d5f34d00222ac100475f73d10162ddf43e714932f204"
278278
url: "https://pub.dev"
279279
source: hosted
280-
version: "1.2.4"
280+
version: "2.0.1"
281281
convert:
282282
dependency: transitive
283283
description:

mobile/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ dependencies:
4848
isar_flutter_libs: ^3.1.0+1
4949
permission_handler: ^11.2.0
5050
device_info_plus: ^10.0.0
51-
connectivity_plus: ^5.0.2
51+
connectivity_plus: ^6.0.0
5252
wakelock_plus: ^1.1.4
5353
flutter_local_notifications: ^17.2.1+2
5454
timezone: ^0.9.2

0 commit comments

Comments
 (0)