aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-08-21 17:01:12 -0700
committerScott Jackson <daneren2005@gmail.com>2015-08-21 17:01:12 -0700
commitf2826c280593396be8bfee088e37d68674cd075a (patch)
treeb0c9a83fe3442e250f88c3c86c673e258e6e604b /app
parentb357cf297500fecf631688b76cc2e6fc3ec5846a (diff)
downloaddsub-f2826c280593396be8bfee088e37d68674cd075a.tar.gz
dsub-f2826c280593396be8bfee088e37d68674cd075a.tar.bz2
dsub-f2826c280593396be8bfee088e37d68674cd075a.zip
Put starred above album lists
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/fragments/MainFragment.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/fragments/MainFragment.java b/app/src/main/java/github/daneren2005/dsub/fragments/MainFragment.java
index 413f0b11..1f3cb11d 100644
--- a/app/src/main/java/github/daneren2005/dsub/fragments/MainFragment.java
+++ b/app/src/main/java/github/daneren2005/dsub/fragments/MainFragment.java
@@ -100,6 +100,10 @@ public class MainFragment extends SelectRecyclerFragment<Integer> {
List<List<Integer>> sections = new ArrayList<>();
List<String> headers = new ArrayList<>();
+ headers.add(null);
+ List<Integer> stars = Arrays.asList(R.string.main_albums_starred);
+ sections.add(stars);
+
List<Integer> albums = new ArrayList<>();
albums.add(R.string.main_albums_newest);
albums.add(R.string.main_albums_random);
@@ -109,7 +113,6 @@ public class MainFragment extends SelectRecyclerFragment<Integer> {
if(!Util.isTagBrowsing(context)) {
albums.add(R.string.main_albums_highest);
}
- albums.add(R.string.main_albums_starred);
albums.add(R.string.main_albums_genres);
albums.add(R.string.main_albums_year);
albums.add(R.string.main_albums_recent);