diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-09-02 20:29:10 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-09-02 20:29:10 -0700 |
commit | d9a7ab2d4ffa3cf4b50713d07b227281fdd1ed02 (patch) | |
tree | e192c15a1c889b5798b2ec24300abb4da83ce0cd | |
parent | 3183592eb32f8bc86b37d38e4021f7e10227fb2c (diff) | |
download | dsub-d9a7ab2d4ffa3cf4b50713d07b227281fdd1ed02.tar.gz dsub-d9a7ab2d4ffa3cf4b50713d07b227281fdd1ed02.tar.bz2 dsub-d9a7ab2d4ffa3cf4b50713d07b227281fdd1ed02.zip |
Tag browsing can't view highest rated albums for whatever reason
-rw-r--r-- | src/github/daneren2005/dsub/fragments/MainFragment.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/fragments/MainFragment.java b/src/github/daneren2005/dsub/fragments/MainFragment.java index 91902b52..b1320f3f 100644 --- a/src/github/daneren2005/dsub/fragments/MainFragment.java +++ b/src/github/daneren2005/dsub/fragments/MainFragment.java @@ -178,7 +178,11 @@ public class MainFragment extends SubsonicFragment { adapter.addView(offlineButton, true);
if (!Util.isOffline(context)) {
adapter.addView(albumsTitle, false);
- adapter.addViews(Arrays.asList(albumsNewestButton, albumsRandomButton, albumsHighestButton, albumsStarredButton, albumsGenresButton, albumsYearButton, albumsRecentButton, albumsFrequentButton), true);
+ adapter.addViews(Arrays.asList(albumsNewestButton, albumsRandomButton), true);
+ if(!Util.isTagBrowsing(context)) {
+ adapter.addView(albumsHighestButton, true);
+ }
+ adapter.addViews(Arrays.asList(albumsStarredButton, albumsGenresButton, albumsYearButton, albumsRecentButton, albumsFrequentButton), true);
}
list.setAdapter(adapter);
registerForContextMenu(dummyView);
|