register adapter

pull/1/head
张萌 3 years ago
parent f2ea82528e
commit bb487bb22d

@ -37,7 +37,7 @@ class HiveStore {
Hive.registerAdapter(HistoryLoginModelAdapter()); //HiveTypeId:4
Hive.registerAdapter(UserConfigModelAdapter()); //HiveTypeId:5
Hive.registerAdapter(PickedCityModelAdapter()); //HiveTypeId:6
Hive.registerAdapter(CommunityModelAdapter());
Hive.registerAdapter(CommunityModelAdapter()); //HiveTypeId:7
_appBox = await Hive.openBox('app');
_userBox = await Hive.openBox('userBox');
_dataBox = await Hive.openBox('dataBox');

Loading…
Cancel
Save