Use triple equals

This commit is contained in:
Jonathan Müller
2022-06-26 17:37:25 +02:00
parent 9932fd7647
commit e7e873866d

View File

@ -83,7 +83,7 @@ function registerMPRIS(win) {
}
});
player.on("playpause", () => {
player.playbackStatus = player.playbackStatus == 'Playing' ? "Paused" : "Playing";
player.playbackStatus = player.playbackStatus === 'Playing' ? "Paused" : "Playing";
playPause();
});