Browse Source

fix: improve android compiler support (#369)

master
Henning Hall 4 years ago
committed by GitHub
parent
commit
adb0c5d6e3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      android/src/main/java/com/henninghall/date_picker/pickers/AndroidNative.java

+ 1
- 1
android/src/main/java/com/henninghall/date_picker/pickers/AndroidNative.java View File

@ -53,7 +53,7 @@ public class AndroidNative extends NumberPicker implements Picker {
public void setTextColor(String stringColor) {
int color = Color.parseColor(stringColor);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
if (Build.VERSION.SDK_INT >= 29) {
setTextColor(color);
return;
}

Loading…
Cancel
Save