aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/LogCacheActivity.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-09-12 00:19:54 +0200
committerBananeweizen <bananeweizen@gmx.de>2013-09-12 00:19:54 +0200
commit4eccde8306e391e408b3e2b7a1f23fd0772378a7 (patch)
tree0bad9394f93b87de6bea47d38a29734ee6bb4f5f /main/src/cgeo/geocaching/LogCacheActivity.java
parent9410b06318a1dc3f1dfd5105d68569c7a9b5e12a (diff)
parent684c0ed4dce9b21ef0569953bf0672565df61d8c (diff)
downloadcgeo-4eccde8306e391e408b3e2b7a1f23fd0772378a7.zip
cgeo-4eccde8306e391e408b3e2b7a1f23fd0772378a7.tar.gz
cgeo-4eccde8306e391e408b3e2b7a1f23fd0772378a7.tar.bz2
Merge branch 'release'
Diffstat (limited to 'main/src/cgeo/geocaching/LogCacheActivity.java')
-rw-r--r--main/src/cgeo/geocaching/LogCacheActivity.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/LogCacheActivity.java b/main/src/cgeo/geocaching/LogCacheActivity.java
index c9baac1..d009378 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);
}