LastFM: Remove EnableGameActivity Setting

This commit is contained in:
thororen1234 2025-05-23 08:47:40 -04:00
parent aa1cee3080
commit 45b9824b11
No known key found for this signature in database
2 changed files with 0 additions and 20 deletions

View file

@ -132,11 +132,6 @@ const settings = definePluginSettings({
type: OptionType.BOOLEAN,
default: false,
},
enableGameActivity: {
description: "Enable game activity for last.fm",
type: OptionType.BOOLEAN,
default: false,
},
statusName: {
description: "custom status text",
type: OptionType.STRING,
@ -306,11 +301,6 @@ export default definePlugin({
}
const trackData = await this.fetchTrackData();
if (settings.store.enableGameActivity && trackData) {
ShowCurrentGame.updateSetting(true);
} else if (settings.store.enableGameActivity) {
ShowCurrentGame.updateSetting(false);
}
if (!trackData) return null;
const largeImage = this.getLargeImage(trackData);