From 99502cf42797aa28f9e7a4c9bb0315fefd1c8af0 Mon Sep 17 00:00:00 2001 From: Krille Fear Date: Thu, 18 Nov 2021 21:24:01 +0100 Subject: [PATCH] fix: Removing sembast --- lib/utils/client_manager.dart | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/utils/client_manager.dart b/lib/utils/client_manager.dart index 9221ed39..2214d152 100644 --- a/lib/utils/client_manager.dart +++ b/lib/utils/client_manager.dart @@ -6,7 +6,6 @@ import 'package:hive_flutter/hive_flutter.dart'; import 'package:matrix/encryption/utils/key_verification.dart'; import 'package:matrix/matrix.dart'; import 'package:path_provider/path_provider.dart'; -import 'package:sembast/sembast.dart'; import 'package:fluffychat/utils/platform_infos.dart'; import 'famedlysdk_store.dart'; @@ -39,14 +38,12 @@ abstract class ClientManager { await Store().setItem(clientNamespace, jsonEncode(clientNames.toList())); } final clients = clientNames.map(createClient).toList(); - disableSembastCooperator(); await Future.wait(clients.map((client) => client .init( waitForFirstSync: false, waitUntilLoadCompletedLoaded: false, ) .catchError((e, s) => Logs().e('Unable to initialize client', e, s)))); - enableSembastCooperator(); if (clients.length > 1 && clients.any((c) => !c.isLogged())) { final loggedOutClients = clients.where((c) => !c.isLogged()).toList(); for (final client in loggedOutClients) {