Merge branch 'category-tweaks' into 'master'
Add final artwork and correctly read colours. Closes #1039 See merge request !535
This commit is contained in:
commit
318bbfc140
@ -120,7 +120,7 @@ public class CategoryController extends RecyclerView.ViewHolder implements Loade
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static int getBackgroundColour(Context context, @NonNull String categoryName) {
|
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) {
|
if (colourId > 0) {
|
||||||
return ContextCompat.getColor(context, colourId);
|
return ContextCompat.getColor(context, colourId);
|
||||||
}
|
}
|
||||||
|
BIN
app/src/main/res/drawable/category_games.png
Normal file
BIN
app/src/main/res/drawable/category_games.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Loading…
x
Reference in New Issue
Block a user