forked from organicmaps/organicmaps
Merge pull request #376 from trashkalmar/incorrect-news-marker-behaviour
[android] fix: Incorrect "New maps" marker behaviour.
This commit is contained in:
commit
f9ca7029af
2 changed files with 1 additions and 6 deletions
|
@ -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)
|
||||
|
|
|
@ -49,9 +49,4 @@ public class MyPositionButton
|
|||
if (image instanceof AnimationDrawable)
|
||||
((AnimationDrawable) image).start();
|
||||
}
|
||||
|
||||
public void click()
|
||||
{
|
||||
mButton.performClick();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue