Your Name %!s(int64=7) %!d(string=hace) años
padre
commit
613b3232ef
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);