mirror of
https://github.com/Docile-Alligator/Infinity-For-Reddit.git
synced 2025-10-29 11:35:08 +00:00
Change inbox badge color to color accent.
This commit is contained in:
parent
ee8f5cd70c
commit
303bdb5cb9
@ -265,7 +265,7 @@ public class NavigationWrapper {
|
||||
private BadgeDrawable getBadgeDrawable(Context context, int inboxCount, View anchorView) {
|
||||
BadgeDrawable badgeDrawable = BadgeDrawable.create(context);
|
||||
badgeDrawable.setNumber(inboxCount);
|
||||
badgeDrawable.setBackgroundColor(customThemeWrapper.getColorPrimaryLightTheme());
|
||||
badgeDrawable.setBackgroundColor(customThemeWrapper.getColorAccent());
|
||||
badgeDrawable.setBadgeTextColor(customThemeWrapper.getButtonTextColor());
|
||||
badgeDrawable.setHorizontalOffset(anchorView.getWidth() / 2);
|
||||
return badgeDrawable;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user