File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
library/src/main/java/com/flyjingfish/gradienttextviewlib Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -374,7 +374,6 @@ public float[] getGradientStrokePositions() {
374374
375375 public void setGradientStrokePositions (float [] gradientStrokePositions ) {
376376 this .gradientStrokePositions = gradientStrokePositions ;
377-
378377 invalidate ();
379378 }
380379
@@ -411,7 +410,7 @@ public void setGradientColors(@Nullable ColorStateList[] colorStateLists) {
411410 }
412411 updateColors ();
413412 }else {
414- gradientStrokeColor = false ;
413+ gradientColor = false ;
415414 if (!updateColors ()){
416415 invalidate ();
417416 }
@@ -424,7 +423,6 @@ public float[] getGradientPositions() {
424423
425424 public void setGradientPositions (float [] gradientPositions ) {
426425 this .gradientPositions = gradientPositions ;
427- gradientColor = gradientPositions != null ;
428426 invalidate ();
429427 }
430428
You can’t perform that action at this time.
0 commit comments