Skip to content

Commit

Permalink
Add missing curlies
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsawicki committed Aug 12, 2013
1 parent ee8f76b commit 9e6a9f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/java/com/github/mobile/util/AvatarLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,10 @@ protected BitmapDrawable fetchAvatar(final String url,
File userAvatarDir = new File(avatarDir, userId);
if (userAvatarDir.isDirectory())
deleteCachedUserAvatars(userAvatarDir);
else
else {
userAvatarDir.delete();
userAvatarDir.mkdirs();
}

File rawAvatar = new File(userAvatarDir, cachedAvatarFilename + "-raw");
HttpRequest request = HttpRequest.get(url);
Expand Down

0 comments on commit 9e6a9f3

Please sign in to comment.