[android] Changed order of settings saving

This commit is contained in:
Dmitry Donskoy 2020-06-08 22:23:47 +03:00 committed by Vladimir Byko-Ianko
parent c090077f17
commit be3b53ef50

View file

@ -1800,8 +1800,8 @@ Java_com_mapswithme_maps_Framework_nativeIsIsolinesLayerEnabled(JNIEnv * env, jc
JNIEXPORT void JNICALL Java_com_mapswithme_maps_Framework_nativeSetGuidesLayerEnabled(
JNIEnv * env, jclass, jboolean enabled)
{
frm()->GetGuidesManager().SetEnabled(static_cast<bool>(enabled));
frm()->SaveGuidesEnabled(static_cast<bool>(enabled));
frm()->GetGuidesManager().SetEnabled(static_cast<bool>(enabled));
}
JNIEXPORT jboolean JNICALL