From 61ade15fa9870dda9f8df5c04db077aad5f5c3d8 Mon Sep 17 00:00:00 2001 From: Krille Date: Mon, 27 Nov 2023 12:56:44 +0100 Subject: [PATCH] build: Update matrix dart sdk to 0.23.0 --- lib/pages/device_settings/device_settings.dart | 2 +- pubspec.lock | 4 ++-- pubspec.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/pages/device_settings/device_settings.dart b/lib/pages/device_settings/device_settings.dart index fba065bc..8e22dc3e 100644 --- a/lib/pages/device_settings/device_settings.dart +++ b/lib/pages/device_settings/device_settings.dart @@ -92,7 +92,7 @@ class DevicesSettingsController extends State { } void verifyDeviceAction(Device device) async { - final req = Matrix.of(context) + final req = await Matrix.of(context) .client .userDeviceKeys[Matrix.of(context).client.userID!]! .deviceKeys[device.deviceId]! diff --git a/pubspec.lock b/pubspec.lock index 32eaa6ae..b7f793e1 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1161,10 +1161,10 @@ packages: dependency: "direct main" description: name: matrix - sha256: b01a8a7141a586853a4f9b2e98b3c9912ff74bbceadc16b2bf3630bf055a830a + sha256: "4c94857b53674067b7aeb39723220ee7834128ffde3d54f8185c73a6784bc919" url: "https://pub.dev" source: hosted - version: "0.22.7" + version: "0.23.0" matrix_api_lite: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index edf7903e..9bec4d6a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -62,7 +62,7 @@ dependencies: keyboard_shortcuts: ^0.1.4 latlong2: ^0.8.1 linkify: ^5.0.0 - matrix: ^0.22.6 + matrix: ^0.23.0 matrix_homeserver_recommendations: ^0.3.0 native_imaging: ^0.1.0 package_info_plus: ^4.0.0