7374757677787980818283
return button; } @Override public void receive(UiStateChanged message) { UiState uiState = message.uiState(); if(uiState instanceof PomodoroFinished) buttonModel.turnNextLightOn(); else if(uiState instanceof Pomodoro)
454647484950515253545556
return currentColors; } @Override public void receive(UiStateChanged message) { UiState uiState = message.uiState(); Colors colors = uiState.colors(); if(colors == null) { colors = defaultColors(); } changeColors(colors); }