diff --git a/app/src/main/java/com/example/citrusclient/views/CalendarFragment.java b/app/src/main/java/com/example/citrusclient/views/CalendarFragment.java index 899d072..3c3664a 100644 --- a/app/src/main/java/com/example/citrusclient/views/CalendarFragment.java +++ b/app/src/main/java/com/example/citrusclient/views/CalendarFragment.java @@ -355,11 +355,13 @@ month = 13; citrus.setCurMonth(month - 1); } + citrus.setCurMonth(month - 1); } else if (ii >= 4 && Integer.parseInt(daysString[ii][jj]) < 25) { if(month == 12) { month = 0; citrus.setCurMonth(month + 1); } + citrus.setCurMonth(month + 1); } ((MainActivity) getActivity()).showFragment(new HomeFragment()); }