diff options
author | Александр Зацепин <az@mapswithme.com> | 2018-03-20 19:50:42 +0300 |
---|---|---|
committer | Arsentiy Milchakov <milcars@mapswithme.com> | 2018-03-22 14:39:32 +0300 |
commit | 029933116a77892c032d0250f382f492e29ab4c5 (patch) | |
tree | 18e95dc7c4b0c997bd0bf12b034a8d74f2566ae7 /android/src/com/mapswithme/maps/editor | |
parent | 0ba811ad7c2920cbe432d1a10d235db114e10b67 (diff) |
[android] Implmented 'Create list' button in bookmark list
Diffstat (limited to 'android/src/com/mapswithme/maps/editor')
-rw-r--r-- | android/src/com/mapswithme/maps/editor/EditorFragment.java | 2 | ||||
-rw-r--r-- | android/src/com/mapswithme/maps/editor/StreetFragment.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/android/src/com/mapswithme/maps/editor/EditorFragment.java b/android/src/com/mapswithme/maps/editor/EditorFragment.java index e0c046858f..091df80322 100644 --- a/android/src/com/mapswithme/maps/editor/EditorFragment.java +++ b/android/src/com/mapswithme/maps/editor/EditorFragment.java @@ -658,7 +658,7 @@ public class EditorFragment extends BaseMwmFragment implements View.OnClickListe } @Override - public void onSaveText(String text) + public void onSaveText(@Nullable String initialText, @Nullable String text) { Editor.nativePlaceDoesNotExist(text); mParent.onBackPressed(); diff --git a/android/src/com/mapswithme/maps/editor/StreetFragment.java b/android/src/com/mapswithme/maps/editor/StreetFragment.java index 7f233ebb8f..6002e34b88 100644 --- a/android/src/com/mapswithme/maps/editor/StreetFragment.java +++ b/android/src/com/mapswithme/maps/editor/StreetFragment.java @@ -51,7 +51,7 @@ public class StreetFragment extends BaseMwmRecyclerFragment implements EditTextD } @Override - public void onSaveText(String text) + public void onSaveText(@Nullable String initialText, @Nullable String text) { saveStreet(new LocalizedStreet(text, "")); } |