diff options
Diffstat (limited to 'main/src/cgeo/geocaching/settings/CheckECCredentialsPreference.java')
-rw-r--r-- | main/src/cgeo/geocaching/settings/CheckECCredentialsPreference.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/settings/CheckECCredentialsPreference.java b/main/src/cgeo/geocaching/settings/CheckECCredentialsPreference.java index c1cf740..f5d9ab5 100644 --- a/main/src/cgeo/geocaching/settings/CheckECCredentialsPreference.java +++ b/main/src/cgeo/geocaching/settings/CheckECCredentialsPreference.java @@ -6,6 +6,8 @@ import cgeo.geocaching.enumerations.StatusCode; import org.apache.commons.lang3.tuple.ImmutablePair; +import rx.Observable; + import android.content.Context; import android.graphics.drawable.Drawable; import android.util.AttributeSet; @@ -26,7 +28,7 @@ public class CheckECCredentialsPreference extends AbstractCheckCredentialsPrefer } @Override - protected ImmutablePair<StatusCode, Drawable> login() { - return new ImmutablePair<StatusCode, Drawable>(ECLogin.getInstance().login(), null); + protected ImmutablePair<StatusCode, Observable<Drawable>> login() { + return new ImmutablePair<>(ECLogin.getInstance().login(), null); } } |