[Android] Fix for overlapping rewards notification icons (#32668)

This commit is contained in:
samartnik
2025-12-03 22:41:15 -05:00
committed by GitHub
parent 3753d59db2
commit 9ff41fb77e
@@ -451,7 +451,15 @@ public abstract class BraveToolbarLayoutImpl extends ToolbarLayout
}
View rewardsBadge = findViewById(R.id.rewards_notfication_badge);
if (rewardsBadge != null) {
mIsInitialNotificationPosted = shouldShow;
rewardsBadge.setVisibility(shouldShow ? View.VISIBLE : View.GONE);
if (shouldShow) {
// We shouldn't show both badges at the same time
mBraveRewardsNotificationsCount.setVisibility(View.INVISIBLE);
} else {
// Update the verified publisher mark depending on the current tab
updateVerifiedPublisherMark();
}
}
}