Ripple cover and color adjustment
This commit is contained in:
commit
8dc9083ff7
50 changed files with 485 additions and 675 deletions
|
@ -48,9 +48,7 @@ interface ArtistsPresenter : Presenter<ArtistsView> {
|
|||
override fun loadArtists() {
|
||||
launch {
|
||||
when (val result = repository.allArtists()) {
|
||||
is Result.Success -> withContext(Dispatchers.Main) {
|
||||
view?.artists(result.data)
|
||||
}
|
||||
is Result.Success -> withContext(Dispatchers.Main) { view?.artists(result.data) }
|
||||
is Result.Error -> withContext(Dispatchers.Main) { view?.showEmptyView() }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue