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

housekeeping/remove-warnings
Antoine POPINEAU 2020-09-26 17:39:24 +02:00
rodzic 300cc54e97
commit 785fa6ce19
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: A78AC64694F84063
1 zmienionych plików z 0 dodań i 2 usunięć

Wyświetl plik

@ -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))