Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
yangyxd committed Oct 17, 2019
2 parents 1858569 + 9619c42 commit 0b0c2de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rootProject.allprojects {
apply plugin: 'com.android.library'

android {
compileSdkVersion 27
compileSdkVersion 28

defaultConfig {
minSdkVersion 16
Expand Down
5 changes: 3 additions & 2 deletions lib/Picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1127,9 +1127,10 @@ class DateTimePickerAdapter extends PickerAdapter<DateTime> {

@override
int getColumnFlex(int column) {
if (getColumnType(column) == 0) {
if (picker.columnFlex != null && column < picker.columnFlex.length)
return picker.columnFlex[column];
if (getColumnType(column) == 0)
return 3;
}
return 2;
}

Expand Down

0 comments on commit 0b0c2de

Please sign in to comment.