#84: remove presumably unnecessary trigger to Event.QueueChanged.

This commit is contained in:
Antoine POPINEAU 2020-09-26 17:39:24 +02:00
parent 300cc54e97
commit 785fa6ce19
No known key found for this signature in database
GPG Key ID: A78AC64694F84063
1 changed files with 0 additions and 2 deletions

View File

@ -145,8 +145,6 @@ class PlayerService : Service() {
CommandBus.get().collect { command ->
when (command) {
is Command.RefreshService -> {
EventBus.send(Event.QueueChanged)
if (queue.metadata.isNotEmpty()) {
CommandBus.send(Command.RefreshTrack(queue.current()))
EventBus.send(Event.StateChanged(player.playWhenReady))