[mob] Skip magic refresh if indexing is disabled
This commit is contained in:
@@ -94,6 +94,9 @@ class MagicCacheService {
|
||||
}
|
||||
|
||||
Future<void> _updateCacheIfTheTimeHasCome() async {
|
||||
if (localSettings.isFaceIndexingEnabled) {
|
||||
return;
|
||||
}
|
||||
final jsonFile = await RemoteAssetsService.instance
|
||||
.getAssetIfUpdated(_kMagicPromptsDataUrl);
|
||||
if (jsonFile != null) {
|
||||
|
||||
Reference in New Issue
Block a user