Bug Fixes (Double Click, Login Fragment Title)

This commit is contained in:
Caesar2011
2018-08-09 23:00:16 +02:00
parent 762e2ac4db
commit 8acac1ee8b
2 changed files with 2 additions and 1 deletions

View File

@@ -121,7 +121,7 @@ public class LoginFragment extends Fragment {
+ " must implement OnLoginFragmentInteractionListener"); + " must implement OnLoginFragmentInteractionListener");
} }
if (context instanceof MainAcitivityListener) if (context instanceof MainAcitivityListener)
((MainAcitivityListener) context).onTitleTextChange(R.string.courses); ((MainAcitivityListener) context).onTitleTextChange(R.string.log_in);
else else
throw new RuntimeException(context.toString() + "must implement MainActivityListener"); throw new RuntimeException(context.toString() + "must implement MainActivityListener");
} }

View File

@@ -172,6 +172,7 @@ public class ScheduleFragment extends Fragment implements MonthLoader.MonthChang
} }
} }
mWeekView.goToDate(firstVisibleDay); mWeekView.goToDate(firstVisibleDay);
onFirstVisibleDayChanged(firstVisibleDay, mWeekView.getLastVisibleDay());
} }
@Override @Override