Skip to content

Commit

Permalink
feat: remove automatic update from NMS app
Browse files Browse the repository at this point in the history
  • Loading branch information
aanorbel committed Jun 5, 2024
1 parent 24bf59c commit 4145e50
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,15 @@ 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 {
binding.uninstallLink.setVisibility(View.GONE);
/**
* 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;
}

Expand Down

0 comments on commit 4145e50

Please sign in to comment.