Your Name 7 jaren geleden
bovenliggende
commit
613b3232ef
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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);