diff --git a/astrid/plugin-src/com/todoroo/astrid/subtasks/OrderedListFragmentHelper.java b/astrid/plugin-src/com/todoroo/astrid/subtasks/OrderedListFragmentHelper.java index 147a177ca..dae32877e 100644 --- a/astrid/plugin-src/com/todoroo/astrid/subtasks/OrderedListFragmentHelper.java +++ b/astrid/plugin-src/com/todoroo/astrid/subtasks/OrderedListFragmentHelper.java @@ -194,7 +194,10 @@ public class OrderedListFragmentHelper { public TaskAdapter createTaskAdapter(TodorooCursor cursor, AtomicReference sqlQueryTemplate) { - taskAdapter = new DraggableTaskAdapter(fragment, R.layout.task_adapter_row, + int resource = Preferences.getBoolean(R.string.p_taskRowStyle, false) ? + R.layout.task_adapter_row_simple : R.layout.task_adapter_row; + + taskAdapter = new DraggableTaskAdapter(fragment, resource, cursor, sqlQueryTemplate, false, null); taskAdapter.addOnCompletedTaskListener(new OnCompletedTaskListener() {