Set habit buttons to true as default

This commit is contained in:
Phillip Thelen 2015-12-02 16:54:23 +01:00
parent 1a414e6b2e
commit 50f03b14b3

View file

@ -91,7 +91,9 @@ public class TaskFormActivity extends AppCompatActivity implements AdapterView.O
mainWrapper.removeView(checklistLayout);
positiveCheckBox = (CheckBox) findViewById(R.id.task_positive_checkbox);
positiveCheckBox.setChecked(true);
negativeCheckBox = (CheckBox) findViewById(R.id.task_negative_checkbox);
negativeCheckBox.setChecked(true);
} else {
LinearLayout actionsLayout = (LinearLayout) findViewById(R.id.task_actions_wrapper);
mainWrapper.removeView(actionsLayout);