Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
harshad1 committed Dec 28, 2024
1 parent 150a677 commit 6dc6916
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,13 @@ public LargerHeaderSpan(final @ColorInt int color, final float proportion) {

@Override
public void updateMeasureState(@NonNull TextPaint textPaint) {
textPaint.setFakeBoldText(true);
textPaint.setColor(_color);
textPaint.setTextSize(textPaint.getTextSize() * _proportion);
}

@Override
public void updateDrawState(@NonNull TextPaint textPaint) {
textPaint.setFakeBoldText(true);
textPaint.setColor(_color);
textPaint.setTextSize(textPaint.getTextSize() * _proportion);
}
}
}

0 comments on commit 6dc6916

Please sign in to comment.