Skip to content

Commit 346b6dc

Browse files
committed
Remove unused method getBaseColor().
1 parent d003866 commit 346b6dc

File tree

1 file changed

+0
-7
lines changed
  • library/src/main/java/com/rengwuxian/materialedittext

1 file changed

+0
-7
lines changed

library/src/main/java/com/rengwuxian/materialedittext/Colors.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,4 @@ public static boolean isLight(int color) {
1212
Color.green(color) * Color.green(color) * .691 +
1313
Color.blue(color) * Color.blue(color) * .068) > 130;
1414
}
15-
16-
public static int getBaseColor(int color) {
17-
if (isLight(color)) {
18-
return Color.BLACK;
19-
}
20-
return Color.WHITE;
21-
}
2215
}

0 commit comments

Comments
 (0)