mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-22 13:48:55 +00:00
fix yesterdaily dialog issue
This commit is contained in:
parent
3f4b3e0eba
commit
012a2d8f56
1 changed files with 2 additions and 4 deletions
|
|
@ -83,10 +83,8 @@ public class YesterdailyDialog extends AlertDialog {
|
|||
configureTaskView(taskView, task);
|
||||
});
|
||||
CheckBox checkBox = (CheckBox) taskView.findViewById(R.id.checkBox);
|
||||
checkBox.setOnCheckedChangeListener((buttonView, isChecked) -> {
|
||||
task.completed = !task.completed;
|
||||
configureTaskView(taskView, task);
|
||||
});
|
||||
checkBox.setEnabled(false);
|
||||
checkBox.setClickable(false);
|
||||
yesterdailiesList.addView(taskView);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue