Renamed "reindexNotes" into "refreshIndex"

This commit is contained in:
Simon Cambier
2022-09-30 22:29:26 +02:00
parent d47309f576
commit 5d1e1da45b
2 changed files with 3 additions and 3 deletions

View File

@@ -154,7 +154,7 @@ export function addNoteToReindex(note: TAbstractFile): void {
notesToReindex.add(note)
}
export async function reindexNotes(): Promise<void> {
export async function refreshIndex(): Promise<void> {
if (settings.showIndexingNotices && notesToReindex.size > 0) {
new Notice(`Omnisearch - Reindexing ${notesToReindex.size} notes`, 2000)
}