chore: Migrate back to flutter hive collections

This commit is contained in:
Christian Pauly 2022-08-24 10:29:45 +02:00
parent f477d40013
commit 86e060a4d0
3 changed files with 4 additions and 4 deletions

View File

@ -104,8 +104,8 @@ abstract class ClientManager {
EventTypes.RoomPowerLevels, EventTypes.RoomPowerLevels,
}, },
logLevel: kReleaseMode ? Level.warning : Level.verbose, logLevel: kReleaseMode ? Level.warning : Level.verbose,
databaseBuilder: FlutterFluffyBoxDatabase.databaseBuilder, databaseBuilder: FlutterHiveCollectionsDatabase.databaseBuilder,
legacyDatabaseBuilder: FlutterHiveCollectionsDatabase.databaseBuilder, legacyDatabaseBuilder: FlutterFluffyBoxDatabase.databaseBuilder,
supportedLoginTypes: { supportedLoginTypes: {
AuthenticationTypes.password, AuthenticationTypes.password,
if (PlatformInfos.isMobile || if (PlatformInfos.isMobile ||

View File

@ -839,7 +839,7 @@ packages:
name: hive name: hive
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.2.1" version: "2.2.3"
hive_flutter: hive_flutter:
dependency: "direct main" dependency: "direct main"
description: description:

View File

@ -52,7 +52,7 @@ dependencies:
future_loading_dialog: ^0.2.3 future_loading_dialog: ^0.2.3
geolocator: ^7.6.2 geolocator: ^7.6.2
handy_window: ^0.1.6 handy_window: ^0.1.6
hive: 2.2.1 hive: ^2.2.3
hive_flutter: ^1.1.0 hive_flutter: ^1.1.0
http: ^0.13.4 http: ^0.13.4
image: ^3.1.1 image: ^3.1.1