aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/cgeoinit.java
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2011-12-04 08:09:00 +0100
committerBananeweizen <bananeweizen@gmx.de>2011-12-04 08:09:00 +0100
commite5f89f9a9a94f2c38abd249a7b000f2a4c408582 (patch)
treefc6937139fe71db2ed35d3812721fe0e56eb8e6d /main/src/cgeo/geocaching/cgeoinit.java
parent8a89f929f181289e7b62b8ae7ad27801c8fd9d31 (diff)
downloadcgeo-e5f89f9a9a94f2c38abd249a7b000f2a4c408582.zip
cgeo-e5f89f9a9a94f2c38abd249a7b000f2a4c408582.tar.gz
cgeo-e5f89f9a9a94f2c38abd249a7b000f2a4c408582.tar.bz2
refactoring: move twitter stuff into separate package
Diffstat (limited to 'main/src/cgeo/geocaching/cgeoinit.java')
-rw-r--r--main/src/cgeo/geocaching/cgeoinit.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/cgeoinit.java b/main/src/cgeo/geocaching/cgeoinit.java
index ec6aedf..2c2d911 100644
--- a/main/src/cgeo/geocaching/cgeoinit.java
+++ b/main/src/cgeo/geocaching/cgeoinit.java
@@ -6,6 +6,7 @@ import cgeo.geocaching.compatibility.Compatibility;
import cgeo.geocaching.enumerations.CacheType;
import cgeo.geocaching.enumerations.StatusCode;
import cgeo.geocaching.maps.MapProviderFactory;
+import cgeo.geocaching.twitter.TwitterAuthorizationActivity;
import org.apache.commons.lang3.StringUtils;
import org.apache.http.HttpResponse;
@@ -264,7 +265,7 @@ public class cgeoinit extends AbstractActivity {
authorizeTwitter.setOnClickListener(new View.OnClickListener() {
public void onClick(View arg0) {
- Intent authIntent = new Intent(cgeoinit.this, cgeoauth.class);
+ Intent authIntent = new Intent(cgeoinit.this, TwitterAuthorizationActivity.class);
startActivity(authIntent);
}
});
@@ -277,7 +278,7 @@ public class cgeoinit extends AbstractActivity {
public void onClick(View v) {
Settings.setUseTwitter(twitterButton.isChecked());
if (Settings.isUseTwitter() && !Settings.isTwitterLoginValid()) {
- Intent authIntent = new Intent(cgeoinit.this, cgeoauth.class);
+ Intent authIntent = new Intent(cgeoinit.this, TwitterAuthorizationActivity.class);
startActivity(authIntent);
}