fix: make Hive Collection path nullable
Signed-off-by: Lanna Michalke <l.michalke@famedly.com>
This commit is contained in:
parent
89c6b9a8c2
commit
1cb04ef9e4
|
|
@ -35,7 +35,7 @@ import 'package:matrix/src/utils/run_benchmarked.dart';
|
||||||
class HiveCollectionsDatabase extends DatabaseApi {
|
class HiveCollectionsDatabase extends DatabaseApi {
|
||||||
static const int version = 6;
|
static const int version = 6;
|
||||||
final String name;
|
final String name;
|
||||||
final String path;
|
final String? path;
|
||||||
final HiveCipher? key;
|
final HiveCipher? key;
|
||||||
late BoxCollection _collection;
|
late BoxCollection _collection;
|
||||||
late CollectionBox<String> _clientBox;
|
late CollectionBox<String> _clientBox;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue