[android] fix: Incorrect "New maps" marker behaviour.

This commit is contained in:
Alexander Marchuk 2015-10-24 17:16:01 +03:00
parent f76b9a570e
commit 25dae2eed2
2 changed files with 1 additions and 6 deletions

View file

@ -315,7 +315,7 @@ public class MainMenu
public void updateMarker()
{
int count = ActiveCountryTree.getOutOfDateCount();
UiUtils.showIf(!mCollapsed && (count > 0) && !isOpen(), mNewsMarker);
UiUtils.showIf((!mCollapsed || mCollapseViews.isEmpty()) && (count > 0) && !isOpen(), mNewsMarker);
UiUtils.showIf(count > 0, mNewsCounter);
if (count > 0)

View file

@ -49,9 +49,4 @@ public class MyPositionButton
if (image instanceof AnimationDrawable)
((AnimationDrawable) image).start();
}
public void click()
{
mButton.performClick();
}
}