Removed the welcome message

This commit is contained in:
Simon Cambier
2023-07-28 12:14:45 +02:00
parent 823cbad9c5
commit 32655a1570

View File

@@ -118,11 +118,11 @@ export default class OmnisearchPlugin extends Plugin {
executeFirstLaunchTasks(): void { executeFirstLaunchTasks(): void {
const code = '1.10.1' const code = '1.10.1'
if (settings.welcomeMessage !== code) { if (settings.welcomeMessage !== code) {
const welcome = new DocumentFragment() // const welcome = new DocumentFragment()
welcome.createSpan({}, span => { // welcome.createSpan({}, span => {
span.innerHTML = `🔎 Omnisearch now requires the <strong>Text Extractor</strong> plugin to index PDF and images. See Omnisearch settings for more information.` // span.innerHTML = `🔎 Omnisearch now requires the <strong>Text Extractor</strong> plugin to index PDF and images. See Omnisearch settings for more information.`
}) // })
new Notice(welcome, 20_000) // new Notice(welcome, 20_000)
} }
settings.welcomeMessage = code settings.welcomeMessage = code