Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
adbenitez committed Nov 15, 2024
1 parent 5cfa71c commit ad6e2d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void setTextSize(int unit, float size) {
originalFontSize = size;
} else {
float pxSize = TypedValue.applyDimension(unit, size, getResources().getDisplayMetrics());
float spSize = = ViewUtil.pxToSp(getContext(), (int) pxSize);
float spSize = ViewUtil.pxToSp(getContext(), (int) pxSize);
if (spSize > 0) {
originalFontSize = spSize;
}
Expand Down

0 comments on commit ad6e2d1

Please sign in to comment.