You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2018. It is now read-only.
Hey @codingblazer@HimanshuS01 yes I have already updated the code and I found the problem in the code inside the Trustees file. Here is the snippet:
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case android.R.id.home:
finish();
case R.id.menu_settings:
Intent intent=new Intent(this, UserSettingsActivity.class);
startActivity(intent);
}
return true;
}
Here there is no break; inside the case android.R.id.home. So what happens is it continues to execute the remaining case and enters R.id.menu_settings to create a SettingsActivity instance. I don't know how it's working fine on your devices but logically it shouldn't.
Expected Behavior:
The application should navigate back to Circle Of Trust when clicking back button in Trustees Fragment.
Actual Behavior:
It navigates to User Settings.
@sandarumk I would like to work on this issue. Thanks :)
The text was updated successfully, but these errors were encountered: