mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-29 19:20:36 +02:00
Hide subpage view when there is only one page
This commit is contained in:
@@ -157,6 +157,8 @@ public class TableFragment extends Fragment implements FragmentUpdateListener {
|
||||
moveSubpageRight.setEnabled(selectedSubpageNr + 1 < subpageCount);
|
||||
subpageView.addView(moveSubpageRight);
|
||||
|
||||
subpageView.setVisibility(subpageCount > 1 ? View.VISIBLE : View.GONE);
|
||||
|
||||
tableHeaderView.removeAllViews();
|
||||
|
||||
ArrayList<MeasurementView> visibleMeasurements = new ArrayList<>();
|
||||
|
Reference in New Issue
Block a user