fix judgment issue
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user