forked from organicmaps/organicmaps
[ios, android] show dashboard. RemovePin from dst point
This commit is contained in:
parent
ff911e6098
commit
3ab7c39443
2 changed files with 9 additions and 6 deletions
|
@ -1505,6 +1505,7 @@ public class MWMActivity extends NvEventQueueActivity
|
|||
@Override
|
||||
public void run()
|
||||
{
|
||||
deactivatePopup();
|
||||
if (isSuccess)
|
||||
{
|
||||
Animation alphaAnimation = new AlphaAnimation(0.0f, 1.0f);
|
||||
|
|
|
@ -597,14 +597,16 @@
|
|||
f.Invalidate();
|
||||
f.LoadBookmarks();
|
||||
|
||||
f.SetRouteBuildingListener([&](bool isSuccess, string const & message, bool openDownloader)
|
||||
f.SetRouteBuildingListener([self, &f](bool isSuccess, string const & message, bool openDownloader)
|
||||
{
|
||||
if (isSuccess)
|
||||
{
|
||||
// [placePage setState:PlacePageStateHidden animated:YES withCallback:YES];
|
||||
// [self performAfterDelay:0.3 block:^{
|
||||
// [self.routeView setVisible:YES animated:YES];
|
||||
// }];
|
||||
f.GetBalloonManager().RemovePin();
|
||||
f.GetBalloonManager().Dismiss();
|
||||
[self.containerView.placePage setState:PlacePageStateHidden animated:YES withCallback:YES];
|
||||
[self performAfterDelay:0.3 block:^{
|
||||
[self.routeView setVisible:YES animated:YES];
|
||||
}];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -613,7 +615,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
f.SetBuyProListener([&]()
|
||||
f.SetBuyProListener([self]()
|
||||
{
|
||||
[self showBuyProDialog];
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue