mirror of
https://github.com/Docile-Alligator/Infinity-For-Reddit.git
synced 2026-02-05 17:15:45 +00:00
Change inbox badge color to color accent.
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user