From b6c80e15ec5171178587d586e4f55732361751e0 Mon Sep 17 00:00:00 2001 From: Simon Cambier Date: Sun, 27 Aug 2023 11:35:50 +0200 Subject: [PATCH] #259 - Fixed --- src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index a68d364..5c7a411 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,4 +1,4 @@ -import { Notice, Plugin } from 'obsidian' +import { Notice, Platform, Plugin } from 'obsidian' import { OmnisearchInFileModal, OmnisearchVaultModal, @@ -217,7 +217,7 @@ export default class OmnisearchPlugin extends Plugin { } console.timeEnd('Omnisearch - Indexing total time') - if (diff.toAdd.length >= 1000) { + if (diff.toAdd.length >= 1000 && !Platform.isIosApp) { new Notice(`Omnisearch - Your files have been indexed.`) } indexingStep.set(IndexingStepType.Done)