diff --git a/app/src/main/java/com/android/iunoob/bloodbank/fragments/AchievmentsView.java b/app/src/main/java/com/android/iunoob/bloodbank/fragments/AchievmentsView.java index b29a3bc..eae6827 100755 --- a/app/src/main/java/com/android/iunoob/bloodbank/fragments/AchievmentsView.java +++ b/app/src/main/java/com/android/iunoob/bloodbank/fragments/AchievmentsView.java @@ -164,6 +164,9 @@ public void onDataChange(@NonNull final DataSnapshot dataSnapshot) { yesno.setVisibility(View.VISIBLE); yes = view.findViewById(R.id.btnYes); + cur_day = calendar.get(Calendar.DAY_OF_MONTH); + cur_month = calendar.get(Calendar.MONTH)+1; + cur_year = calendar.get(Calendar.YEAR); yes.setOnClickListener(new View.OnClickListener() { @Override