diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2013-10-19 10:59:29 +0200 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2013-10-19 10:59:29 +0200 |
| commit | 898456bcf181714d9dfaff12f9c37dce74b4ea1c (patch) | |
| tree | f04cf56a38441c174f51ac75e487ffba1cc77cd3 /main/src/cgeo/geocaching/LogCacheActivity.java | |
| parent | 2093ea462db4d8e56282de5871c58579a023d7cf (diff) | |
| download | cgeo-898456bcf181714d9dfaff12f9c37dce74b4ea1c.zip cgeo-898456bcf181714d9dfaff12f9c37dce74b4ea1c.tar.gz cgeo-898456bcf181714d9dfaff12f9c37dce74b4ea1c.tar.bz2 | |
fix #3368: New placeholer [LOG] for twitter template
Diffstat (limited to 'main/src/cgeo/geocaching/LogCacheActivity.java')
| -rw-r--r-- | main/src/cgeo/geocaching/LogCacheActivity.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/LogCacheActivity.java b/main/src/cgeo/geocaching/LogCacheActivity.java index 1e915ad..31d448a 100644 --- a/main/src/cgeo/geocaching/LogCacheActivity.java +++ b/main/src/cgeo/geocaching/LogCacheActivity.java @@ -277,7 +277,7 @@ public class LogCacheActivity extends AbstractLoggingActivity implements DateDia } else if (StringUtils.isNotBlank(Settings.getSignature()) && Settings.isAutoInsertSignature() && StringUtils.isBlank(currentLogText())) { - insertIntoLog(LogTemplateProvider.applyTemplates(Settings.getSignature(), new LogContext(cache)), false); + insertIntoLog(LogTemplateProvider.applyTemplates(Settings.getSignature(), new LogContext(cache, log)), false); } } updatePostButtonText(); @@ -545,7 +545,7 @@ public class LogCacheActivity extends AbstractLoggingActivity implements DateDia if (typeSelected == LogType.FOUND_IT) { if (tweetCheck.isChecked() && tweetBox.getVisibility() == View.VISIBLE) { - Twitter.postTweetCache(geocode); + Twitter.postTweetCache(geocode, logNow); } } if (GCVote.isValidRating(rating)) { @@ -609,7 +609,7 @@ public class LogCacheActivity extends AbstractLoggingActivity implements DateDia @Override protected LogContext getLogContext() { - return new LogContext(cache); + return new LogContext(cache, null); } private void selectAllTrackablesAction() { |
