mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
#64 opt. for process page
This commit is contained in:
@@ -47,10 +47,11 @@ Future<void> initApp() async {
|
||||
|
||||
Future<void> initHive() async {
|
||||
await Hive.initFlutter();
|
||||
Hive.registerAdapter(SnippetAdapter());
|
||||
Hive.registerAdapter(VirtKeyAdapter());
|
||||
// 以 typeId 为顺序
|
||||
Hive.registerAdapter(PrivateKeyInfoAdapter());
|
||||
Hive.registerAdapter(SnippetAdapter());
|
||||
Hive.registerAdapter(ServerPrivateInfoAdapter());
|
||||
Hive.registerAdapter(VirtKeyAdapter());
|
||||
}
|
||||
|
||||
void runInZone(dynamic Function() body) {
|
||||
|
||||
Reference in New Issue
Block a user