feat(offline-first): persist hijri+unsplash cache and scale secondary times
This commit is contained in:
@@ -69,6 +69,7 @@ Future<void> _bootstrapAndRun() async {
|
||||
Hive.registerAdapter(DailyPrayerScheduleAdapter());
|
||||
await Hive.openBox<AppSettings>(HiveBoxes.settings);
|
||||
await Hive.openBox<DailyPrayerSchedule>(HiveBoxes.prayerSchedule);
|
||||
await Hive.openBox<String>(HiveBoxes.hijriCache);
|
||||
|
||||
// Seed defaults if first launch
|
||||
final settingsBox = Hive.box<AppSettings>(HiveBoxes.settings);
|
||||
|
||||
Reference in New Issue
Block a user