forked from organicmaps/organicmaps-tmp
review fixes
This commit is contained in:
parent
10ba4a8e45
commit
d171e73e2c
1 changed files with 4 additions and 3 deletions
|
@ -284,16 +284,18 @@ public class EditorHostFragment extends BaseMwmToolbarFragment
|
|||
if (note.length() != 0)
|
||||
Editor.nativeCreateNote(note);
|
||||
// Save object edits
|
||||
if (!MwmApplication.get().prefs().contains(NOOB_ALERT_SHOWN))
|
||||
if (!MwmApplication.prefs().contains(NOOB_ALERT_SHOWN))
|
||||
{
|
||||
MwmApplication.get().prefs().edit()
|
||||
MwmApplication.prefs().edit()
|
||||
.putBoolean(NOOB_ALERT_SHOWN, true)
|
||||
.apply();
|
||||
|
||||
showNoobDialog();
|
||||
}
|
||||
else
|
||||
{
|
||||
saveMapObjectEdits();
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
@ -336,7 +338,6 @@ public class EditorHostFragment extends BaseMwmToolbarFragment
|
|||
.show();
|
||||
}
|
||||
|
||||
|
||||
private void showNoobDialog()
|
||||
{
|
||||
new AlertDialog.Builder(getActivity())
|
||||
|
|
Loading…
Add table
Reference in a new issue