Skip to content

Commit

Permalink
Merge pull request #352 from Logan676/fix_IllegalArgumentException
Browse files Browse the repository at this point in the history
fix IllegalArgumentException
  • Loading branch information
Logan676 committed May 12, 2015
2 parents 772e062 + 00610d4 commit a52bbe3
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 a52bbe3

Please sign in to comment.