#64 opt. for process page

This commit is contained in:
lollipopkit
2023-06-27 12:27:16 +08:00
parent 0022294ea4
commit 9ffe5583fd
10 changed files with 35 additions and 27 deletions

View File

@@ -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) {