From c0cd8b6b07f89ae3b1f1f5d05ac461b6271d2354 Mon Sep 17 00:00:00 2001 From: fengyuecanzhu <1021300691@qq.com> Date: Sun, 12 Dec 2021 09:45:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E6=9C=BA?= =?UTF-8?q?=E5=9E=8B=E9=97=AA=E9=80=80=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/xyz/fycz/myreader/model/user/UserService2.kt | 3 +-- app/version_code.properties | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/xyz/fycz/myreader/model/user/UserService2.kt b/app/src/main/java/xyz/fycz/myreader/model/user/UserService2.kt index e64fbc3..36b358e 100644 --- a/app/src/main/java/xyz/fycz/myreader/model/user/UserService2.kt +++ b/app/src/main/java/xyz/fycz/myreader/model/user/UserService2.kt @@ -194,8 +194,7 @@ object UserService2 { * @return */ fun isLogin(): Boolean { - val file = App.getApplication().getFileStreamPath("userConfig.fy") - return file.exists() + return readConfig() != null } private fun makeAuth(): String { diff --git a/app/version_code.properties b/app/version_code.properties index a401823..bf96771 100644 --- a/app/version_code.properties +++ b/app/version_code.properties @@ -1,3 +1,3 @@ #Fri Jun 18 21:45:31 CST 2021 -VERSION_CODE=229 +VERSION_CODE=230 NEED_CREATE_RELEASE=true