Skip to content

Commit adb0c5d

Browse files
authored
fix: improve android compiler support (#369)
1 parent 9051569 commit adb0c5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/henninghall/date_picker/pickers/AndroidNative.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public void smoothScrollToValue(int value, boolean needRespond) {
5353
public void setTextColor(String stringColor) {
5454
int color = Color.parseColor(stringColor);
5555

56-
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
56+
if (Build.VERSION.SDK_INT >= 29) {
5757
setTextColor(color);
5858
return;
5959
}

0 commit comments

Comments
 (0)