Hided updates when there's nothing to update
This commit is contained in:
parent
9ea7e55ffd
commit
750580cb31
1 changed files with 3 additions and 0 deletions
|
@ -80,7 +80,10 @@ public class DashUpdatesFragment extends DashBaseFragment {
|
||||||
updates.removeAllViews();
|
updates.removeAllViews();
|
||||||
|
|
||||||
if (list.size() < 1) {
|
if (list.size() < 1) {
|
||||||
|
mainView.findViewById(R.id.maps).setVisibility(View.GONE);
|
||||||
return;
|
return;
|
||||||
|
} else {
|
||||||
|
mainView.findViewById(R.id.maps).setVisibility(View.VISIBLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < list.size(); i++) {
|
for (int i = 0; i < list.size(); i++) {
|
||||||
|
|
Loading…
Reference in a new issue