1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-13 01:02:18 -04:00

feature: persist last active player (#2184)

This commit is contained in:
Andrey Yugai
2026-04-09 22:30:04 +07:00
committed by GitHub
parent 049266271a
commit a0c9af1ee7
4 changed files with 55 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ DankPopout {
if (currentPlayer && currentPlayer !== player && currentPlayer.canPause) {
currentPlayer.pause();
}
MprisController.activePlayer = player;
MprisController.setActivePlayer(player);
root.__hideDropdowns();
}
onDeviceSelected: device => {