aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgeoinit.java
diff options
context:
space:
mode:
authorblafoo <github@blafoo.de>2012-03-09 22:30:07 +0100
committerblafoo <github@blafoo.de>2012-03-09 22:30:07 +0100
commit5ef62c82aae1fa83b57d8a2aba9bdf20303240a7 (patch)
treebb1ac679a9f1154ef733fed0c7d349ab9e267eb0 /main/src/cgeo/geocaching/cgeoinit.java
parent5daaa3d454ff680e74fdbf8f673674d0eb339817 (diff)
downloadcgeo-5ef62c82aae1fa83b57d8a2aba9bdf20303240a7.zip
cgeo-5ef62c82aae1fa83b57d8a2aba9bdf20303240a7.tar.gz
cgeo-5ef62c82aae1fa83b57d8a2aba9bdf20303240a7.tar.bz2
Don't load direction images for PMs. Fixes #227
Diffstat (limited to 'main/src/cgeo/geocaching/cgeoinit.java')
-rw-r--r--main/src/cgeo/geocaching/cgeoinit.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/cgeoinit.java b/main/src/cgeo/geocaching/cgeoinit.java
index 1a694bd..667dff1 100644
--- a/main/src/cgeo/geocaching/cgeoinit.java
+++ b/main/src/cgeo/geocaching/cgeoinit.java
@@ -404,6 +404,7 @@ public class cgeoinit extends AbstractActivity {
});
final CheckBox dirImgButton = (CheckBox) findViewById(R.id.loaddirectionimg);
+ dirImgButton.setEnabled(!Settings.isPremiumMember());
dirImgButton.setChecked(Settings.getLoadDirImg());
dirImgButton.setOnClickListener(new View.OnClickListener() {