diff --git a/iphone/Maps/UI/Editor/MWMEditorViewController.mm b/iphone/Maps/UI/Editor/MWMEditorViewController.mm index 97095d71cd..918680422d 100644 --- a/iphone/Maps/UI/Editor/MWMEditorViewController.mm +++ b/iphone/Maps/UI/Editor/MWMEditorViewController.mm @@ -3,7 +3,6 @@ #import "MWMAuthorizationCommon.h" #import "MWMButtonCell.h" #import "MWMCuisineEditorViewController.h" -#import "MWMDropDown.h" #import "MWMEditorAddAdditionalNameTableViewCell.h" #import "MWMEditorAdditionalNameTableViewCell.h" #import "MWMEditorAdditionalNamesHeader.h" @@ -238,7 +237,7 @@ void registerCellsForTableView(std::vector const & cells, UITab case osm::Editor::SaveResult::NothingWasChanged: [self.navigationController popToRootViewControllerAnimated:YES]; if (haveNote) - [self showDropDown]; + [self showNotesQueuedToast]; break; case osm::Editor::SaveResult::SavedSuccessfully: osm_auth_ios::AuthorizationSetNeedCheck(YES); @@ -251,10 +250,9 @@ void registerCellsForTableView(std::vector const & cells, UITab } } -- (void)showDropDown +- (void)showNotesQueuedToast { - MWMDropDown * dd = [[MWMDropDown alloc] initWithSuperview:[MapViewController sharedController].controlsView]; - [dd showWithMessage:L(@"editor_edits_sent_message")]; + [[MWMToast toastWithText:L(@"editor_edits_sent_message")] show]; } #pragma mark - Headers @@ -972,7 +970,7 @@ void registerCellsForTableView(std::vector const & cells, UITab GetFramework().CreateNote(self->m_mapObject, osm::Editor::NoteProblemType::PlaceDoesNotExist, additional); [self goBack]; - [self showDropDown]; + [self showNotesQueuedToast]; }]; };