diff --git a/mobile/lib/services/magic_cache_service.dart b/mobile/lib/services/magic_cache_service.dart index aba9d61533..b1cdd6c8c9 100644 --- a/mobile/lib/services/magic_cache_service.dart +++ b/mobile/lib/services/magic_cache_service.dart @@ -77,7 +77,11 @@ class MagicCacheService { Future _updateCacheIfNeeded() async { final jsonFile = await RemoteAssetsService.instance .getAssetIfUpdated(_kMagicPromptsDataUrl); - if (jsonFile != null) {} + if (jsonFile != null) { + Future.delayed(const Duration(seconds: 10), () { + unawaited(updateMagicCache()); + }); + } } Future> getMatchingFileIDsForPromptData(