null error fix on isar exchange data cache instance

This commit is contained in:
julian-CStack 2023-07-17 10:36:33 -06:00
parent 7e30eed7c0
commit bc85b97f5f

View file

@ -135,6 +135,9 @@ class ExchangeDataLoadingService {
Future<void> loadAll() async {
if (!_locked) {
_locked = true;
if (_isar == null) {
await initDB();
}
Logging.instance.log(
"ExchangeDataLoadingService.loadAll starting...",
level: LogLevel.Info,