Your Name лет назад: 7
Родитель
Сommit
613b3232ef
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/src/main/java/com/kuxuan/moneynote/utils/PickerUtil.java

+ 1 - 1
app/src/main/java/com/kuxuan/moneynote/utils/PickerUtil.java

@@ -52,7 +52,7 @@ public class PickerUtil {
52 52
         picker.setHeight(picker.getScreenHeightPixels()/2-250);
53 53
         picker.setRangeStart(2010, 10, 14);
54 54
         picker.setTitleText(mTitle);
55
-        picker.setRangeEnd(2020, 11, 11);
55
+        picker.setRangeEnd(mYear, mMonth, mDay);
56 56
         picker.setSelectedItem(mYear, mMonth,mDay);
57 57
         picker.setWeightEnable(true);
58 58
         picker.setWheelModeEnable(true);