From 898456bcf181714d9dfaff12f9c37dce74b4ea1c Mon Sep 17 00:00:00 2001 From: Bananeweizen Date: Sat, 19 Oct 2013 10:59:29 +0200 Subject: fix #3368: New placeholer [LOG] for twitter template --- main/src/cgeo/geocaching/LogCacheActivity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main/src/cgeo/geocaching/LogCacheActivity.java') 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() { -- cgit v1.1