aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/go4cache/Go4CacheUser.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/go4cache/Go4CacheUser.java')
-rw-r--r--main/src/cgeo/geocaching/go4cache/Go4CacheUser.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/go4cache/Go4CacheUser.java b/main/src/cgeo/geocaching/go4cache/Go4CacheUser.java
index 606d8f3..08fd02e 100644
--- a/main/src/cgeo/geocaching/go4cache/Go4CacheUser.java
+++ b/main/src/cgeo/geocaching/go4cache/Go4CacheUser.java
@@ -44,14 +44,16 @@ public class Go4CacheUser {
}
public int getIconId() {
- if (null == client) {
+ if (client == null) {
return -1;
}
if (client.equalsIgnoreCase("c:geo")) {
return R.drawable.client_cgeo;
- } else if (client.equalsIgnoreCase("preCaching")) {
+ }
+ if (client.equalsIgnoreCase("preCaching")) {
return R.drawable.client_precaching;
- } else if (client.equalsIgnoreCase("Handy Geocaching")) {
+ }
+ if (client.equalsIgnoreCase("Handy Geocaching")) {
return R.drawable.client_handygeocaching;
}
return -1;