mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-10-06 02:53:12 -04:00
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
2 files changed
+1
-1
No files matched your search
@@ -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 |
Reference in new issue
Block a user