chore: bump sdk to 0.12.2, fixes calls

This commit is contained in:
td 2022-08-29 10:27:37 +05:30
parent 703cc1109f
commit 04e466617f
No known key found for this signature in database
GPG Key ID: F6D9E9BF14C7D103
4 changed files with 10 additions and 5 deletions

View File

@ -32,7 +32,7 @@ if (keystorePropertiesFile.exists()) {
}
android {
compileSdkVersion 32
compileSdkVersion 33
sourceSets {
main.java.srcDirs += 'src/main/kotlin'

View File

@ -88,7 +88,7 @@ class BootstrapDialogState extends State<BootstrapDialog> {
titleText = null;
_recoveryKeyStored = false;
bootstrap =
widget.client.encryption!.bootstrap(onUpdate: () => setState(() {}));
widget.client.encryption!.bootstrap(onUpdate: (_) => setState(() {}));
final key = await const FlutterSecureStorage().read(key: _secureStorageKey);
if (key == null) return;
_recoveryKeyTextEditingController.text = key;

View File

@ -1063,7 +1063,7 @@ packages:
name: matrix
url: "https://pub.dartlang.org"
source: hosted
version: "0.11.2"
version: "0.12.2"
matrix_api_lite:
dependency: transitive
description:
@ -1124,7 +1124,7 @@ packages:
dependency: "direct main"
description:
path: "."
ref: HEAD
ref: "8c6a5afe2c965b79b5959bb4b49c4aad020cb980"
resolved-ref: "8c6a5afe2c965b79b5959bb4b49c4aad020cb980"
url: "https://gitlab.com/famedly/company/frontend/libraries/native_imaging.git"
source: git

View File

@ -63,7 +63,7 @@ dependencies:
latlong2: ^0.8.1
localstorage: ^4.0.0+1
lottie: ^1.2.2
matrix: ^0.11.2
matrix: ^0.12.2
matrix_homeserver_recommendations: ^0.3.0
matrix_link_text: ^1.0.2
native_imaging:
@ -169,3 +169,8 @@ dependency_overrides:
git:
url: https://github.com/TheOneWithTheBraid/keyboard_shortcuts.git
ref: null-safety
# latest native_imaging needs ffi 2.0.0 but matrix is stuck with 1.0.0
native_imaging:
git:
url: https://gitlab.com/famedly/company/frontend/libraries/native_imaging.git
ref: 8c6a5afe2c965b79b5959bb4b49c4aad020cb980