Fix: An issue that would cause Matugen colors to not apply. (#929)
* Eslint updates * linter fixes * Type fixes * More type fixes * Fix isvis * More type fixes * Type Fixes * Consolidate logic to manage options * Linter fixes * Package lock update * Update configs * Version checker * Debug pipeline * Package lock update * Update ci * Strict check * Revert ci * Eslint * Remove rule since it causes issues in CI * Actual matugen fix
This commit is contained in:
@@ -23,7 +23,8 @@ export const getCurrentPlayer = (
|
||||
const playerStillExists = mprisPlayers.some((p) => activePlayer.bus_name === p.bus_name);
|
||||
|
||||
const nextPlayerUp = mprisPlayers.sort(
|
||||
(a: AstalMpris.Player, b: AstalMpris.Player) => statusOrder[a.playbackStatus] - statusOrder[b.playbackStatus],
|
||||
(a: AstalMpris.Player, b: AstalMpris.Player) =>
|
||||
statusOrder[a.playbackStatus] - statusOrder[b.playbackStatus],
|
||||
)[0];
|
||||
|
||||
if (isPlaying || !playerStillExists) {
|
||||
|
||||
Reference in New Issue
Block a user