解决冲突

This commit is contained in:
qiji4215
2023-04-24 16:29:53 +08:00
parent 123583652c
commit 07a6227e7d
3 changed files with 2 additions and 8 deletions

View File

@@ -160,7 +160,6 @@ class LoginViewModel @Inject constructor(
Constant.USER_DATA_PATH = Constant.DATA_PATH + Constant.USER_ID + "/" + Constant.VERSION_ID
// 在SD卡创建用户目录解压资源等
val userFolder = File("${Constant.DATA_PATH}/${userId}")
Constant.CURRENT_USER_ID = userId
// 初始化Realm
Realm.init(context.applicationContext)
val password = "encryp".encodeToByteArray().copyInto(ByteArray(64))