Merge pull request #376 from trashkalmar/incorrect-news-marker-behaviour

[android] fix: Incorrect "New maps" marker behaviour.
This commit is contained in:
Alex Zolotarev 2015-10-24 10:09:38 -07:00
commit f9ca7029af
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();
}
}