Skip to content

Commit

Permalink
Fix resume row not hiding when empty
Browse files Browse the repository at this point in the history
(cherry picked from commit c437842)
  • Loading branch information
nielsvanvelzen committed May 2, 2023
1 parent b2b60bf commit 7749e40
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ fun ItemRowAdapter.retrieveResumeItems(api: ApiClient, query: GetResumeItemsRequ

setItems(
items = response.items.orEmpty().toTypedArray(),
transform = { item, i -> BaseRowItem(item, i, preferParentThumb, isStaticHeight) })
transform = { item, i -> BaseRowItem(item, i, preferParentThumb, isStaticHeight) }
)

if (response.items.isNullOrEmpty()) removeRow()
}
}

0 comments on commit 7749e40

Please sign in to comment.