Small fix

This commit is contained in:
RemoMeijer
2021-01-05 13:23:48 +01:00
parent aae67f53ec
commit fbf8cbe1c5
3 changed files with 16 additions and 19 deletions

View File

@@ -41,8 +41,8 @@ public class StatisticFragment extends Fragment {
TextView couponNumber = view.findViewById(R.id.couponAmount);
couponNumber.setText(String.valueOf(adapter.getItemCount()));
this.imageButton = view.findViewById(R.id.route_back_button);
this.imageButton = view.findViewById(R.id.statistics_back_button);
this.imageButton.setOnClickListener(v -> {
HomeFragment homeFragment = new HomeFragment();
((FragmentActivity) view.getContext()).getSupportFragmentManager().beginTransaction().replace(R.id.fragment_layout, homeFragment).addToBackStack(null).commit();