Remove various unnecessary TODOs (#956)

This commit is contained in:
Brian Yencho 2024-02-05 16:06:54 -06:00 committed by Álison Fernandes
parent 61212c3628
commit 300190a520
5 changed files with 1 additions and 7 deletions

View file

@ -23,7 +23,6 @@ fun GetTokenResponseJson.Success.toUserState(
val jwtTokenData = parseJwtTokenDataOrNull(jwtToken = accessToken)!!
val userId = jwtTokenData.userId
// TODO: Update null properties below via sync request (BIT-916)
val account = AccountJson(
profile = AccountJson.Profile(
userId = userId,

View file

@ -23,7 +23,6 @@ fun UserStateJson.toUpdatedUserStateJson(
val userId = syncProfile.id
val account = this.accounts[userId] ?: return this
val profile = account.profile
// TODO: Update additional missing UserStateJson properties (BIT-916)
val updatedProfile = profile
.copy(
avatarColorHex = syncProfile.avatarColor,

View file

@ -129,7 +129,7 @@ class CreateAccountViewModel @Inject constructor(
}
PasswordStrengthResult.Error -> {
// TODO: Assess possible error conditions (BIT-964)
// Leave UI the same
}
}
}

View file

@ -122,9 +122,6 @@ class AddSendViewModel @Inject constructor(
) {
init {
// TODO: Check the special circumstance to place in custom mode when a new send request is
// initiated externally (BIT-1518).
when (val addSendType = state.addSendType) {
AddSendType.AddItem -> Unit
is AddSendType.EditItem -> {

View file

@ -536,7 +536,6 @@ class VaultViewModel @Inject constructor(
}
private fun vaultPendingReceive(vaultData: DataState.Pending<VaultData>) {
// TODO update state to refresh state BIT-505
mutableStateFlow.update {
it.copy(
viewState = vaultData.data.toViewState(