Refactor indicator code

This commit is contained in:
Deep
2020-10-17 13:02:39 -04:00
parent 4a0bd55def
commit ca37eb0740
@@ -190,15 +190,6 @@ public class BraveNewTabPageLayout extends NewTabPageLayout {
}
}
private void selectedDot(int position) {
if (indicators.get(position) != null) {
TextView selectedTextView = indicators.get(position);
selectedTextView.setText(Html.fromHtml("◉"));
} else {
indicators.get(0).setText(Html.fromHtml("◉"));
}
}
private void checkForBraveStats() {
if (OnboardingPrefManager.getInstance().isBraveStatsEnabled()) {
BraveStatsUtil.showBraveStats();