Refactor indicator code
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user