Merge branch 'category-tweaks' into 'master'

Add final artwork and correctly read colours.

Closes #1039

See merge request !535
This commit is contained in:
Hans-Christoph Steiner 2017-06-08 10:18:56 +00:00
commit 318bbfc140
2 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ public class CategoryController extends RecyclerView.ViewHolder implements Loade
}
public static int getBackgroundColour(Context context, @NonNull String categoryName) {
int colourId = getCategoryResource(context, categoryName, "color", false);
int colourId = getCategoryResource(context, categoryName, "color", true);
if (colourId > 0) {
return ContextCompat.getColor(context, colourId);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB