From 7ae50430f8bc24fa9b533738e9c62f8edf650c2c Mon Sep 17 00:00:00 2001 From: seven332 Date: Tue, 15 Mar 2016 17:16:35 +0800 Subject: [PATCH] No not judge sign in state by display name --- app/src/main/java/com/hippo/ehviewer/client/EhUtils.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/com/hippo/ehviewer/client/EhUtils.java b/app/src/main/java/com/hippo/ehviewer/client/EhUtils.java index 9d25dc569..c6cd82dfe 100644 --- a/app/src/main/java/com/hippo/ehviewer/client/EhUtils.java +++ b/app/src/main/java/com/hippo/ehviewer/client/EhUtils.java @@ -116,8 +116,7 @@ public class EhUtils { } public static boolean hasSignedIn(Context context) { - return EhApplication.getEhCookieStore(context).hasSignedIn() && - Settings.getDisplayName() != null; + return EhApplication.getEhCookieStore(context).hasSignedIn(); } public static String getSuitableTitle(GalleryInfo gi) {