diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2013-09-12 00:18:45 +0200 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2013-09-12 00:18:45 +0200 |
| commit | 684c0ed4dce9b21ef0569953bf0672565df61d8c (patch) | |
| tree | 0ee589e9f3094ecb83d7b2c3ffd97051e29a092f /main/src/cgeo/geocaching/LogCacheActivity.java | |
| parent | 48d0676edceed628760c67b611758998b0b1902c (diff) | |
| download | cgeo-684c0ed4dce9b21ef0569953bf0672565df61d8c.zip cgeo-684c0ed4dce9b21ef0569953bf0672565df61d8c.tar.gz cgeo-684c0ed4dce9b21ef0569953bf0672565df61d8c.tar.bz2 | |
fix #3254: No Gcvote rating possible
Diffstat (limited to 'main/src/cgeo/geocaching/LogCacheActivity.java')
| -rw-r--r-- | main/src/cgeo/geocaching/LogCacheActivity.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/LogCacheActivity.java b/main/src/cgeo/geocaching/LogCacheActivity.java index 207dce5..3664fec 100644 --- a/main/src/cgeo/geocaching/LogCacheActivity.java +++ b/main/src/cgeo/geocaching/LogCacheActivity.java @@ -214,7 +214,7 @@ public class LogCacheActivity extends AbstractLoggingActivity implements DateDia if (!postButton.isEnabled()) { return res.getString(R.string.log_post_not_possible); } - if (typeSelected != LogType.FOUND_IT || !Settings.isGCvoteLogin() || !cache.supportsGCVote()) { + if (!Settings.isGCvoteLogin() || !cache.supportsGCVote()) { return res.getString(R.string.log_post); } if (rating == 0) { @@ -555,6 +555,8 @@ public class LogCacheActivity extends AbstractLoggingActivity implements DateDia if (tweetCheck.isChecked() && tweetBox.getVisibility() == View.VISIBLE) { Twitter.postTweetCache(geocode); } + } + if (rating > 0) { GCVote.setRating(cache, rating); } |
