Skip to content

Commit

Permalink
Update SettingTab.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Acylation committed Mar 11, 2024
1 parent 3061fa4 commit 5c38131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/settings/SettingTab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,13 @@ export class ChemSettingTab extends PluginSettingTab {
new Setting(containerEl)
.setName(i18n.t('settings.advanced.core.name'))
.setDesc(i18n.t('settings.advanced.core.description'))
.setDisabled(Platform.isIosApp)
.addDropdown((dropdown) =>
dropdown
.addOptions({
rdkit: 'RDKit.js',
'smiles-drawer': 'Smiles Drawer',
})
.setDisabled(Platform.isIosApp)
.setValue(this.plugin.settings.core ?? false)
.onChange(async (value: 'rdkit' | 'smiles-drawer') => {
this.plugin.settings.core = value;
Expand Down

0 comments on commit 5c38131

Please sign in to comment.