修复部分机型闪退的问题

master
fengyuecanzhu 3 years ago
parent 0b1cdba6ac
commit c0cd8b6b07
  1. 3
      app/src/main/java/xyz/fycz/myreader/model/user/UserService2.kt
  2. 2
      app/version_code.properties

@ -194,8 +194,7 @@ object UserService2 {
* @return * @return
*/ */
fun isLogin(): Boolean { fun isLogin(): Boolean {
val file = App.getApplication().getFileStreamPath("userConfig.fy") return readConfig() != null
return file.exists()
} }
private fun makeAuth(): String { private fun makeAuth(): String {

@ -1,3 +1,3 @@
#Fri Jun 18 21:45:31 CST 2021 #Fri Jun 18 21:45:31 CST 2021
VERSION_CODE=229 VERSION_CODE=230
NEED_CREATE_RELEASE=true NEED_CREATE_RELEASE=true

Loading…
Cancel
Save