fix remaining UI case

This commit is contained in:
Txoldi 2025-11-29 19:29:04 +01:00
parent 08c2c968b0
commit 3252f5b5b0
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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) => {