Disabling the "danger zone" on iOS as there is no cache to clear
This commit is contained in:
@@ -328,7 +328,7 @@ export class SettingsTab extends PluginSettingTab {
|
||||
//#endregion Results Weighting
|
||||
|
||||
//#region Danger Zone
|
||||
|
||||
if (!Platform.isIosApp) {
|
||||
new Setting(containerEl).setName('Danger Zone').setHeading()
|
||||
|
||||
const resetCacheDesc = new DocumentFragment()
|
||||
@@ -347,7 +347,7 @@ export class SettingsTab extends PluginSettingTab {
|
||||
new Notice('Omnisearch - Cache cleared. Please restart Obsidian.')
|
||||
})
|
||||
})
|
||||
|
||||
}
|
||||
//#endregion Danger Zone
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user