diff --git a/src/settings.ts b/src/settings.ts
index 767af73..695d8f8 100644
--- a/src/settings.ts
+++ b/src/settings.ts
@@ -128,24 +128,6 @@ export class SettingsTab extends PluginSettingTab {
//#region Indexing
- const indexingDesc = new DocumentFragment()
- indexingDesc.createSpan({}, span => {
- span.innerHTML = `⚠️ Changing indexing settings will clear the cache, and requires a restart of Obsidian.
`
- if (textExtractor) {
- span.innerHTML += `
- 👍 You have installed Text Extractor, Omnisearch can use it to index PDFs and images contents.
-
Text extraction only works on desktop, but the cache can be synchronized with your mobile device.`
- } else {
- span.innerHTML += `⚠️ Omnisearch requires Text Extractor to index PDFs and images.`
- }
-
- if (aiImageAnalyzer) {
- span.innerHTML += `
👍 You have installed AI Image Analyzer, Omnisearch can use it to index images contents with ai.`
- }else {
- span.innerHTML += `
⚠️ Omnisearch requires AI Image Analyzer to index images with ai.`
- }
- })
-
new Setting(containerEl)
.setName('Indexing')
.setHeading()
@@ -156,6 +138,11 @@ export class SettingsTab extends PluginSettingTab {
? `👍 You have installed Text Extractor, Omnisearch can use it to index PDFs and images contents.
Text extraction only works on desktop, but the cache can be synchronized with your mobile device.`
: `⚠️ Omnisearch requires Text Extractor to index PDFs and images.`
+ }
+ ${
+ aiImageAnalyzer
+ ? `
👍 You have installed AI Image Analyzer, Omnisearch can use it to index images contents with ai.`
+ : `
⚠️ Omnisearch requires AI Image Analyzer to index images with ai.`
}`)
)