Removed unused date setting
This commit is contained in:
parent
b87676d7b0
commit
3539f6143d
1 changed files with 0 additions and 14 deletions
14
settings.ts
14
settings.ts
|
|
@ -13,20 +13,6 @@ export class ExampleSettingsTab extends PluginSettingTab {
|
||||||
let { containerEl } = this;
|
let { containerEl } = this;
|
||||||
containerEl.empty();
|
containerEl.empty();
|
||||||
|
|
||||||
new Setting(containerEl)
|
|
||||||
.setName("Date format")
|
|
||||||
.setDesc("Default date format")
|
|
||||||
.addText((text) =>
|
|
||||||
|
|
||||||
text
|
|
||||||
.setPlaceholder("MMMM dd, yyyy")
|
|
||||||
.setValue(this.plugin.settings.dateFormat)
|
|
||||||
.onChange(async (value) => {
|
|
||||||
this.plugin.settings.dateFormat = value;
|
|
||||||
await this.plugin.saveSettings();
|
|
||||||
})
|
|
||||||
);
|
|
||||||
|
|
||||||
new Setting(containerEl)
|
new Setting(containerEl)
|
||||||
.setName("Habitica User ID")
|
.setName("Habitica User ID")
|
||||||
.setDesc("Can be found in Settings > API")
|
.setDesc("Can be found in Settings > API")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue