Updated buttons

This commit is contained in:
RemoMeijer
2021-01-05 16:10:06 +01:00
parent 360198e784
commit 1834aec01b
3 changed files with 17 additions and 14 deletions

View File

@@ -43,7 +43,7 @@ public class SettingsFragment extends Fragment {
// Inflate the layout for this fragment
Spinner dropdown = view.findViewById(R.id.dropdown_menu_Settings);
this.imageButton = view.findViewById(R.id.route_detail_back_button);
this.imageButton = view.findViewById(R.id.settings_back_button);
this.imageButton.setOnClickListener(v -> {
HomeFragment homeFragment = new HomeFragment();
((FragmentActivity) view.getContext()).getSupportFragmentManager().beginTransaction().replace(R.id.fragment_layout, homeFragment).addToBackStack(null).commit();