diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2015-01-03 10:16:29 +0100 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2015-01-03 10:23:08 +0100 |
commit | 77fac0ce78692c8d56f9dfb75c47e204a056cb46 (patch) | |
tree | 7801f37eadbcdcecc9c1e485e62501ccbca5d859 /main/src/cgeo/geocaching/connector | |
parent | 213ce4c0f819eb54d97e9ecc43a471b792b9372c (diff) | |
download | cgeo-77fac0ce78692c8d56f9dfb75c47e204a056cb46.zip cgeo-77fac0ce78692c8d56f9dfb75c47e204a056cb46.tar.gz cgeo-77fac0ce78692c8d56f9dfb75c47e204a056cb46.tar.bz2 |
Use only one shared images directory
The user avatar used to be stored under the "_others" pseudo-geocode
while other data not tied to a particular cache was stored under
"shared". Now, everything is now in "shared".
Diffstat (limited to 'main/src/cgeo/geocaching/connector')
-rw-r--r-- | main/src/cgeo/geocaching/connector/gc/GCLogin.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/connector/gc/GCLogin.java b/main/src/cgeo/geocaching/connector/gc/GCLogin.java index 7b7351e..035176b 100644 --- a/main/src/cgeo/geocaching/connector/gc/GCLogin.java +++ b/main/src/cgeo/geocaching/connector/gc/GCLogin.java @@ -257,7 +257,7 @@ public class GCLogin extends AbstractLogin { final String avatarURL = TextUtils.getMatch(profile, GCConstants.PATTERN_AVATAR_IMAGE_PROFILE_PAGE, false, null); if (avatarURL != null) { - final HtmlImage imgGetter = new HtmlImage("", false, 0, false); + final HtmlImage imgGetter = new HtmlImage(HtmlImage.SHARED, false, 0, false); return imgGetter.fetchDrawable(avatarURL.replace("avatar", "user/large")).cast(Drawable.class); } // No match? There may be no avatar set by user. |