🎨 refactor: setting-utils args
This commit is contained in:
parent
56be185458
commit
57cc62f7b5
2 changed files with 17 additions and 9 deletions
|
@ -163,7 +163,9 @@ export default class PluginSample extends Plugin {
|
|||
}
|
||||
});
|
||||
|
||||
this.settingUtils = new SettingUtils(this, STORAGE_NAME);
|
||||
this.settingUtils = new SettingUtils({
|
||||
plugin: this, name: STORAGE_NAME
|
||||
});
|
||||
this.settingUtils.addItem({
|
||||
key: "Input",
|
||||
value: "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue