mirror of
https://github.com/marsbatya/tg-emoji-search.git
synced 2026-07-22 05:41:44 +00:00
remove headings created w/ createEl and rename Advanced to General
This commit is contained in:
parent
72aedd0d49
commit
22f0394b64
1 changed files with 2 additions and 2 deletions
4
main.ts
4
main.ts
|
|
@ -269,7 +269,7 @@ class EmojiSuggesterSettingTab extends PluginSettingTab {
|
|||
display(): void {
|
||||
const { containerEl } = this;
|
||||
containerEl.empty();
|
||||
containerEl.createEl('h2', { text: 'Advanced' });
|
||||
new Setting(containerEl).setName('General').setHeading();
|
||||
|
||||
new Setting(containerEl)
|
||||
.setName('Default language')
|
||||
|
|
@ -306,7 +306,7 @@ class EmojiSuggesterSettingTab extends PluginSettingTab {
|
|||
}));
|
||||
|
||||
// Add section for custom emoji mappings
|
||||
containerEl.createEl('h2', { text: 'Custom emoji mappings' });
|
||||
new Setting(containerEl).setName('Custom emoji mappings').setHeading();
|
||||
|
||||
// Display existing custom mappings
|
||||
const customMappingsContainer = containerEl.createDiv('custom-emoji-mappings-container');
|
||||
|
|
|
|||
Loading…
Reference in a new issue