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