chore: Prettified Code

[ci skip]
This commit is contained in:
coredev-uk 2022-09-26 21:41:35 +00:00 committed by cider-chore[bot]
parent 5921b98619
commit 973769852c
2 changed files with 2 additions and 2 deletions

View file

@ -93,7 +93,7 @@ export class AppEvents {
if (process.platform === "linux") { if (process.platform === "linux") {
app.commandLine.appendSwitch("disable-features", "MediaSessionService"); app.commandLine.appendSwitch("disable-features", "MediaSessionService");
if (os.version().indexOf("SteamOS")) { if (os.version().indexOf("SteamOS")) {
app.commandLine.appendSwitch("enable-features", "UseOzonePlatform"); app.commandLine.appendSwitch("enable-features", "UseOzonePlatform");
app.commandLine.appendSwitch("ozone-platform", "x11"); app.commandLine.appendSwitch("ozone-platform", "x11");

View file

@ -209,7 +209,7 @@ export default class lastfm {
}); });
return; return;
} }
if (!this._authenticated || !attributes || this._utils.getStoreValue("connectivity.lastfm.filter_types")[attributes.playParams.kind] || this._utils.getStoreValue("connectivity.lastfm.filter_types")[attributes.kind] || (this._utils.getStoreValue("connectivity.lastfm.filter_loop") && this._nowPlayingCache.track === attributes.lfmTrack.name)) return; if (!this._authenticated || !attributes || this._utils.getStoreValue("connectivity.lastfm.filter_types")[attributes.playParams.kind] || this._utils.getStoreValue("connectivity.lastfm.filter_types")[attributes.kind] || (this._utils.getStoreValue("connectivity.lastfm.filter_loop") && this._nowPlayingCache.track === attributes.lfmTrack.name)) return;
console.log(this._utils.getStoreValue("connectivity.lastfm.filter_types")); console.log(this._utils.getStoreValue("connectivity.lastfm.filter_types"));