diff --git a/app/src/main/java/org/openobservatory/ooniprobe/activity/OverviewActivity.java b/app/src/main/java/org/openobservatory/ooniprobe/activity/OverviewActivity.java index 95ba919a5..8be0ea0b8 100644 --- a/app/src/main/java/org/openobservatory/ooniprobe/activity/OverviewActivity.java +++ b/app/src/main/java/org/openobservatory/ooniprobe/activity/OverviewActivity.java @@ -161,6 +161,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) { binding.uninstallLink.setVisibility(View.GONE); binding.revisionsContainer.setVisibility(View.GONE); binding.headerContainer.setVisibility(View.GONE); + binding.automaticUpdatesContainer.setVisibility(View.GONE); } } else { @@ -168,6 +169,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) { /** * We need to set the height to 0 because the layout is broken when the view is gone */ + binding.automaticUpdatesContainer.setVisibility(View.GONE); binding.automaticUpdatesContainer.getLayoutParams().height = 0; }