fixed login screen not displayed after edit

Signed-off-by: map-per <map-per@gmx.de>
This commit is contained in:
map-per 2024-10-13 10:09:26 +02:00 committed by Viktor Havaka
parent 349f8fc08d
commit c7094b1054
2 changed files with 2 additions and 1 deletions

View file

@ -372,7 +372,7 @@ public class EditorHostFragment extends BaseMwmToolbarFragment implements View.O
private void showLoginDialog()
{
startActivity(new Intent(requireContext(), OsmLoginActivity.class));
Utils.navigateToParent(requireActivity());
requireActivity().finish();
}
private void saveNote()

View file

@ -25,5 +25,6 @@ public class FeatureCategoryActivity extends BaseMwmFragmentActivity implements
intent.putExtra(EXTRA_FEATURE_CATEGORY, category);
intent.putExtra(EditorActivity.EXTRA_NEW_OBJECT, true);
startActivity(intent);
finish();
}
}