Removed the welcome message
This commit is contained in:
10
src/main.ts
10
src/main.ts
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user