Clean up media module logic and code. (#380)
* Organized media menu code * More consolidation
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import { MprisPlayer } from 'types/service/mpris';
|
||||
|
||||
export const isShuffleActive = (player: MprisPlayer): string => {
|
||||
return player['shuffle_status'] !== null && player['shuffle_status'] ? 'active' : '';
|
||||
};
|
||||
Reference in New Issue
Block a user