add vodozemac
This commit is contained in:
parent
410d64f119
commit
3c90e87ac2
2 changed files with 7 additions and 4 deletions
|
|
@ -52,9 +52,11 @@
|
|||
];
|
||||
|
||||
env = rec {
|
||||
LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath ([
|
||||
LD_LIBRARY_PATH = "${
|
||||
pkgs.lib.makeLibraryPath ([
|
||||
pkgs.sqlite
|
||||
])}";
|
||||
])
|
||||
}:./build/linux/x64/debug/plugins/flutter_vodozemac";
|
||||
|
||||
ANDROID_HOME = "${android.androidsdk}/libexec/android-sdk";
|
||||
ANDROID_SDK_ROOT = ANDROID_HOME;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import "dart:convert";
|
||||
import "dart:io";
|
||||
|
||||
import "package:flutter/foundation.dart";
|
||||
import "package:flutter_vodozemac/flutter_vodozemac.dart";
|
||||
import "package:matrix/matrix.dart";
|
||||
import "package:flutter_riverpod/flutter_riverpod.dart";
|
||||
import "package:nexus/controllers/secure_storage_controller.dart";
|
||||
|
|
@ -14,6 +14,7 @@ class ClientController extends AsyncNotifier<Client> {
|
|||
static const sessionBackupKey = "sessionBackup";
|
||||
@override
|
||||
Future<Client> build() async {
|
||||
await init();
|
||||
final client = Client(
|
||||
"nexus",
|
||||
logLevel: kReleaseMode ? Level.warning : Level.verbose,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue