chore: Prettified Code
[ci skip]
This commit is contained in:
parent
5921b98619
commit
973769852c
2 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||||
|
|
|
@ -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"));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue