mirror of
https://github.com/austinried/subtracks.git
synced 2025-12-28 09:19:27 +01:00
fix scrobbling too many times on shuffle
This commit is contained in:
parent
f963d610b8
commit
2c0fdfed4d
@ -30,6 +30,7 @@ const createService = async () => {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
state => state.currentTrack,
|
state => state.currentTrack,
|
||||||
|
(prev, next) => prev?.id === next?.id,
|
||||||
)
|
)
|
||||||
|
|
||||||
TrackPlayer.addEventListener(Event.RemoteStop, () => {
|
TrackPlayer.addEventListener(Event.RemoteStop, () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user