mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 09:33:33 +00:00
fix: hide genre in AlbumPageFragment properly
This commit is contained in:
parent
98db83f11a
commit
e1aeccdd85
1 changed files with 3 additions and 0 deletions
|
|
@ -151,6 +151,9 @@ public class AlbumPageFragment extends Fragment implements ClickCallback {
|
|||
bind.albumGenresTextview.setText(album.getGenre());
|
||||
bind.albumGenresTextview.setVisibility(View.VISIBLE);
|
||||
}
|
||||
else{
|
||||
bind.albumGenresTextview.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
if (album.getReleaseDate() != null && album.getOriginalReleaseDate() != null) {
|
||||
if (album.getReleaseDate().getFormattedDate() != null || album.getOriginalReleaseDate().getFormattedDate() != null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue