mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-29 11:10:35 +02:00
Don't set measurement in edit mode for table fragment
Should be enough to have it in view mode (which is the default).
This commit is contained in:
@@ -119,10 +119,6 @@ public class TableFragment extends Fragment implements FragmentUpdateListener {
|
|||||||
measurementsList.add(new BMRMeasurementView(tableView.getContext()));
|
measurementsList.add(new BMRMeasurementView(tableView.getContext()));
|
||||||
measurementsList.add(new CommentMeasurementView(tableView.getContext()));
|
measurementsList.add(new CommentMeasurementView(tableView.getContext()));
|
||||||
|
|
||||||
for (MeasurementView measurement : measurementsList) {
|
|
||||||
measurement.setEditMode(MeasurementView.MeasurementViewMode.EDIT);
|
|
||||||
}
|
|
||||||
|
|
||||||
prefs = PreferenceManager.getDefaultSharedPreferences(tableView.getContext());
|
prefs = PreferenceManager.getDefaultSharedPreferences(tableView.getContext());
|
||||||
|
|
||||||
OpenScale.getInstance(getContext()).registerFragment(this);
|
OpenScale.getInstance(getContext()).registerFragment(this);
|
||||||
|
Reference in New Issue
Block a user