mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 00:51:20 +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(ServerVolumeAdapter());
|
||||
Hive.registerAdapter(UserTypeAdapter());
|
||||
Hive.registerAdapter(DnsProviderTypeAdapter());
|
||||
Hive.registerAdapter(ServerProviderTypeAdapter());
|
||||
|
||||
await Hive.openBox(BNames.appSettingsBox);
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
part of 'router.dart';
|
||||
|
||||
abstract class _$RootRouter extends RootStackRouter {
|
||||
_$RootRouter([GlobalKey<NavigatorState>? navigatorKey]) : super(navigatorKey: navigatorKey);
|
||||
_$RootRouter([GlobalKey<NavigatorState>? navigatorKey]) : super(navigatorKey);
|
||||
|
||||
@override
|
||||
final Map<String, PageFactory> pagesMap = {
|
||||
|
|
Loading…
Reference in a new issue