From c8e65558bc0b8d016cf8c32ab52f932839cebbc1 Mon Sep 17 00:00:00 2001 From: Simon Cambier Date: Fri, 10 Nov 2023 19:12:20 +0100 Subject: [PATCH] "Fixed" a condition --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index a508a20..20960f6 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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)