style: even out the top padding and hide one too many dividers
This commit is contained in:
1 parent
69e9d5686f
commit
5a2d74a2f4
4 files changed
+4
-2
No files matched your search
@@ -454,6 +454,7 @@ public class HomeTabMusicFragment extends Fragment implements ClickCallback {
|
||||
} else {
|
||||
if (bind != null) bind.starredArtistsPlaceholder.placeholder.setVisibility(View.GONE);
|
||||
if (bind != null) bind.starredArtistsSector.setVisibility(!artists.isEmpty() ? View.VISIBLE : View.GONE);
|
||||
if (bind != null) bind.afterFavoritesDivider.setVisibility(!artists.isEmpty() ? View.VISIBLE : View.GONE);
|
||||
if (bind != null) bind.starredArtistsRecyclerView.setLayoutManager(new GridLayoutManager(requireContext(), UIUtil.getSpanCount(artists.size(), 5), GridLayoutManager.HORIZONTAL, false));
|
||||
|
||||
starredArtistAdapter.setItems(artists);
|
||||
|
||||
Reference in new issue
Block a user