"Fixed" a condition

This commit is contained in:
Simon Cambier
2023-11-10 19:12:20 +01:00
parent 5ff7ea9b0b
commit c8e65558bc

View File

@@ -231,7 +231,7 @@ export default class OmnisearchPlugin extends Plugin {
}
console.timeEnd('Omnisearch - Indexing total time')
if (diff.toAdd.length >= 1000 && !Platform.isIosApp) {
if (diff.toAdd.length >= 1000 && isCacheEnabled()) {
new Notice(`Omnisearch - Your files have been indexed.`)
}
indexingStep.set(IndexingStepType.Done)