forked from organicmaps/organicmaps
Show bookmarks on android fixed.
This commit is contained in:
parent
90b6c04072
commit
b1d789c14f
1 changed files with 5 additions and 2 deletions
|
@ -17,8 +17,11 @@ extern "C"
|
|||
JNIEnv * env, jobject thiz, jint c, jint b)
|
||||
{
|
||||
BookmarkAndCategory bnc = BookmarkAndCategory(c,b);
|
||||
frm()->ShowBookmark(bnc);
|
||||
frm()->SaveState();
|
||||
g_framework->PostDrapeTask([bnc]()
|
||||
{
|
||||
frm()->ShowBookmark(bnc);
|
||||
frm()->SaveState();
|
||||
});
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL
|
||||
|
|
Loading…
Add table
Reference in a new issue