feat: 「我的」页退出登录/登录接入会话状态
This commit is contained in:
@@ -21,19 +21,6 @@ class FakeProfileRepository @Inject constructor() : ProfileRepository {
|
||||
emitAll(profile)
|
||||
}
|
||||
|
||||
override suspend fun deleteAccount() {
|
||||
delay(300)
|
||||
profile.value = seedProfile().copy(
|
||||
displayName = "游客",
|
||||
name = "",
|
||||
studentId = "",
|
||||
phone = null,
|
||||
group = null,
|
||||
avatarUrl = null,
|
||||
classGroups = emptyList(),
|
||||
)
|
||||
}
|
||||
|
||||
private fun seedProfile() = UserProfile(
|
||||
displayName = "张三",
|
||||
name = "张三",
|
||||
|
||||
Reference in New Issue
Block a user