diff options
author | Dmitry Donskoy <donskdmitry@mail.ru> | 2018-10-31 12:07:30 +0300 |
---|---|---|
committer | Aleksandr Zatsepin <alexzatsepin@users.noreply.github.com> | 2018-11-06 17:06:21 +0300 |
commit | 22652fcf121a181a1b74e44cdf648fe676ce665f (patch) | |
tree | a23d1507825440da13b919fb3c3013991d8484ec /android/src/com/mapswithme/maps/editor | |
parent | 9904bf58fb9563a5802b2e458e2df4bb31e0e109 (diff) |
[android] Fixed review notes https://github.com/mapsme/omim/pull/9730#discussion_r229382663 https://github.com/mapsme/omim/pull/9730#discussion_r229395558, removed unused methods
Diffstat (limited to 'android/src/com/mapswithme/maps/editor')
-rw-r--r-- | android/src/com/mapswithme/maps/editor/AuthFragment.java | 2 | ||||
-rw-r--r-- | android/src/com/mapswithme/maps/editor/OsmAuthFragment.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/android/src/com/mapswithme/maps/editor/AuthFragment.java b/android/src/com/mapswithme/maps/editor/AuthFragment.java index cfa39af8af..c49b9911e7 100644 --- a/android/src/com/mapswithme/maps/editor/AuthFragment.java +++ b/android/src/com/mapswithme/maps/editor/AuthFragment.java @@ -32,7 +32,7 @@ public class AuthFragment extends BaseMwmToolbarFragment @Override protected void loginOsm() { - ((BaseMwmFragmentActivity) getActivity()).replace(OsmAuthFragment.class, null, null); + ((BaseMwmFragmentActivity) getActivity()).replaceFragment(OsmAuthFragment.class, null, null); } }; osmAuthDelegate.onViewCreated(view, savedInstanceState); diff --git a/android/src/com/mapswithme/maps/editor/OsmAuthFragment.java b/android/src/com/mapswithme/maps/editor/OsmAuthFragment.java index 9d68a6b4e9..1cb3702253 100644 --- a/android/src/com/mapswithme/maps/editor/OsmAuthFragment.java +++ b/android/src/com/mapswithme/maps/editor/OsmAuthFragment.java @@ -64,7 +64,7 @@ public class OsmAuthFragment extends BaseMwmToolbarFragment implements View.OnCl @Override protected void loginOsm() { - ((BaseMwmFragmentActivity) getActivity()).replace(OsmAuthFragment.class, null, null); + ((BaseMwmFragmentActivity) getActivity()).replaceFragment(OsmAuthFragment.class, null, null); } }; mDelegate.onViewCreated(view, savedInstanceState); |