fix judgment issue

This commit is contained in:
onlymash authored and seven332 committed 2018-04-02 11:56:56 +08:00
1 parent 6bd3bd5e80
commit 0b547147b1
1 file changed
+1 -1
@@ -635,7 +635,7 @@ public class DownloadsScene extends ToolbarScene
if (list == null) {
return false;
}
if (position < 0 && position >= list.size()) {
if (position < 0 || position >= list.size()) {
return false;
}