Skip to content

Commit

Permalink
fix IllegalArgumentException
Browse files Browse the repository at this point in the history
  • Loading branch information
Logan676 committed May 12, 2015
1 parent 772e062 commit 00610d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/com/seafile/seadroid2/ui/adapter/SeafItemAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ private void setFileView(SeafDirent dirent, Viewholder viewHolder, int position)
String repoName = nav.getRepoName();
String repoID = nav.getRepoID();
String filePath = Utils.pathJoin(nav.getDirPath(), dirent.name);
if (repoName == null || repoID == null)
return;

File file = dataManager.getLocalRepoFile(repoName, repoID, filePath);
boolean cacheExists = false;

Expand Down

0 comments on commit 00610d4

Please sign in to comment.