Reset not follow mode on click on waiting for location

This commit is contained in:
r.kuznetsov 2018-08-10 16:57:39 +03:00 committed by Daria Volvenkova
parent 1d48f20bcb
commit 3ea8a55aa1

View file

@ -345,6 +345,8 @@ void MyPositionController::NextMode(ScreenBase const & screen)
// Skip switching to next mode while we are waiting for position.
if (IsWaitingForLocation())
{
m_notFollowAfterPending = false;
alohalytics::LogEvent(kAlohalyticsClickEvent,
LocationModeStatisticsName(location::PendingPosition));
return;