This commit is contained in:
Simon Cambier
2023-08-27 11:35:50 +02:00
parent 50eaa31ea6
commit b6c80e15ec

View File

@@ -1,4 +1,4 @@
import { Notice, Plugin } from 'obsidian' import { Notice, Platform, Plugin } from 'obsidian'
import { import {
OmnisearchInFileModal, OmnisearchInFileModal,
OmnisearchVaultModal, OmnisearchVaultModal,
@@ -217,7 +217,7 @@ export default class OmnisearchPlugin extends Plugin {
} }
console.timeEnd('Omnisearch - Indexing total time') 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.`) new Notice(`Omnisearch - Your files have been indexed.`)
} }
indexingStep.set(IndexingStepType.Done) indexingStep.set(IndexingStepType.Done)