Commit d610fe74 authored by Sébastien Toque's avatar Sébastien Toque

fix checkbox in folder browser

parent f2084b75
......@@ -62,8 +62,8 @@ public class BrowserAdapter extends ArrayAdapter<File>
holder.check.setEnabled(true);
holder.check.setChecked(true);
break;
} else if (dir.getPath().startsWith(item.getPath())) {
Log.i(TAG, item.getPath() + " startWith " + dir.getPath());
} else if (dir.getPath().startsWith(item.getPath()+"/")) {
Log.i(TAG, dir.getPath() + " startWith " + item.getPath());
holder.check.setEnabled(false);
holder.check.setChecked(true);
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment