mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-09 01:21:14 +00:00
fix: Return correct adapters for Hive and make it run
This commit is contained in:
parent
4aa13dd63a
commit
d282f37b71
|
@ -19,6 +19,8 @@ class HiveConfig {
|
||||||
Hive.registerAdapter(BackblazeBucketAdapter());
|
Hive.registerAdapter(BackblazeBucketAdapter());
|
||||||
Hive.registerAdapter(ServerVolumeAdapter());
|
Hive.registerAdapter(ServerVolumeAdapter());
|
||||||
Hive.registerAdapter(UserTypeAdapter());
|
Hive.registerAdapter(UserTypeAdapter());
|
||||||
|
Hive.registerAdapter(DnsProviderTypeAdapter());
|
||||||
|
Hive.registerAdapter(ServerProviderTypeAdapter());
|
||||||
|
|
||||||
await Hive.openBox(BNames.appSettingsBox);
|
await Hive.openBox(BNames.appSettingsBox);
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
part of 'router.dart';
|
part of 'router.dart';
|
||||||
|
|
||||||
abstract class _$RootRouter extends RootStackRouter {
|
abstract class _$RootRouter extends RootStackRouter {
|
||||||
_$RootRouter([GlobalKey<NavigatorState>? navigatorKey]) : super(navigatorKey: navigatorKey);
|
_$RootRouter([GlobalKey<NavigatorState>? navigatorKey]) : super(navigatorKey);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
final Map<String, PageFactory> pagesMap = {
|
final Map<String, PageFactory> pagesMap = {
|
||||||
|
|
Loading…
Reference in a new issue