Prevent swipe for multi-level Google Task subtasks

Google Tasks API to impose single level limit starting 8/30/19
pull/757/head
Alex Baker 6 years ago
parent 41e1d489ce
commit 48b5e18062

@ -119,7 +119,7 @@ class OrderedMetadataListFragmentHelper {
@Override
public boolean canIndent(int position, Task task) {
Task parent = taskAdapter.getTask(position - 1);
return parent != null && getIndent(task) <= parent.getIndent();
return parent != null && getIndent(task) == 0;
}
@Override

Loading…
Cancel
Save