Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixes lint issue
  • Loading branch information
antonis committed May 6, 2022
commit ceb4a36c1bccaa3e0f1295f1cfbb0ba782b7d7ca
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class HomePagePickerViewModel @Inject constructor(
updateUiState(Error())
} else {
// TODO: This is just to demonstrate the UI. The real are pending to be linked
val recommended = event.categories.filter { it.slug == "blog" }.apply { }.toLayoutCategories(true)
val recommended = event.categories.filter { it.slug == "blog" }.toLayoutCategories(true)

val categories = event.categories.toLayoutCategories()
handleResponse(event.designs.toLayoutModels(), recommended + categories)
Expand Down