diff --git a/android/jni/com/mapswithme/maps/Framework.cpp b/android/jni/com/mapswithme/maps/Framework.cpp index 208e75867f..690d489e15 100644 --- a/android/jni/com/mapswithme/maps/Framework.cpp +++ b/android/jni/com/mapswithme/maps/Framework.cpp @@ -1788,7 +1788,7 @@ Java_com_mapswithme_maps_Framework_nativeSetIsolinesLayerEnabled(JNIEnv * env, j { auto const isolinesEnabled = static_cast(enabled); frm()->GetIsolinesManager().SetEnabled(isolinesEnabled); - frm()->SaveIsolonesEnabled(isolinesEnabled); + frm()->SaveIsolinesEnabled(isolinesEnabled); } JNIEXPORT jboolean JNICALL diff --git a/iphone/CoreApi/CoreApi/Traffic/MWMMapOverlayManager.mm b/iphone/CoreApi/CoreApi/Traffic/MWMMapOverlayManager.mm index 69df8bf35c..0f137a9d24 100644 --- a/iphone/CoreApi/CoreApi/Traffic/MWMMapOverlayManager.mm +++ b/iphone/CoreApi/CoreApi/Traffic/MWMMapOverlayManager.mm @@ -191,7 +191,7 @@ static NSString *kGuidesWasShown = @"guidesWasShown"; auto &f = GetFramework(); f.GetIsolinesManager().SetEnabled(enable); - f.SaveIsolonesEnabled(enable); + f.SaveIsolinesEnabled(enable); } + (void)setGuidesEnabled:(BOOL)enable { diff --git a/map/framework.cpp b/map/framework.cpp index b517d4e6fa..3d128babc5 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -3066,7 +3066,7 @@ bool Framework::LoadIsolinesEnabled() return enabled; } -void Framework::SaveIsolonesEnabled(bool enabled) +void Framework::SaveIsolinesEnabled(bool enabled) { settings::Set(kIsolinesEnabledKey, enabled); } diff --git a/map/framework.hpp b/map/framework.hpp index adb2e5a274..6ae2000459 100644 --- a/map/framework.hpp +++ b/map/framework.hpp @@ -786,7 +786,7 @@ public: void SaveTransitSchemeEnabled(bool enabled); bool LoadIsolinesEnabled(); - void SaveIsolonesEnabled(bool enabled); + void SaveIsolinesEnabled(bool enabled); bool LoadGuidesEnabled(); void SaveGuidesEnabled(bool enabled); diff --git a/qt/mainwindow.cpp b/qt/mainwindow.cpp index ea30bd469e..4328f5268e 100644 --- a/qt/mainwindow.cpp +++ b/qt/mainwindow.cpp @@ -1003,7 +1003,7 @@ void MainWindow::SetEnabledIsolines(bool enable) { m_selectLayerIsolinesAction->setChecked(enable); m_pDrawWidget->GetFramework().GetIsolinesManager().SetEnabled(enable); - m_pDrawWidget->GetFramework().SaveIsolonesEnabled(enable); + m_pDrawWidget->GetFramework().SaveIsolinesEnabled(enable); } void MainWindow::OnTrafficEnabled()