mirror of
https://github.com/txoldi/obsidian-lastfm-plugin.git
synced 2026-07-22 06:40:51 +00:00
fix remaining UI case
This commit is contained in:
parent
08c2c968b0
commit
3252f5b5b0
2 changed files with 2 additions and 2 deletions
2
main.ts
2
main.ts
|
|
@ -17,7 +17,7 @@ export default class LastFmPlugin extends Plugin {
|
|||
(_evt: MouseEvent) => {
|
||||
if (!this.settings.apiKey || !this.settings.username) {
|
||||
// Defenive coding against missing input settings (API key and user name)
|
||||
new Notice("Please configure last.fm api key and username in settings → last.fm plugin.");
|
||||
new Notice("lease configure last.fm API key and username in the settings.");
|
||||
return;
|
||||
}
|
||||
const api = new LastFmApi(this.settings.apiKey, this.settings.username);
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ export class LastFmSettingTab extends PluginSettingTab {
|
|||
* ---------------------------- */
|
||||
new Setting(containerEl)
|
||||
.setName('API key')
|
||||
.setDesc('Your last.fm api key')
|
||||
.setDesc('Your last.fm API key')
|
||||
.addText(text => text
|
||||
.setValue(this.plugin.settings.apiKey)
|
||||
.onChange(async (value) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue