Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ruixhuang committed Nov 13, 2024
1 parent 46dafaa commit 9a57706
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class DydxMarketSearchViewModel @Inject constructor(
)
}?.distinctBy {
it.sharedMarketViewState?.id
} ?: emptyList(),
} ?: emptyList(),
searchText = searchText.value,
searchTextChanged = {
searchText.value = it
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class DydxPortfolioPositionsViewModel @Inject constructor(
)
}?.distinctBy {
it.id
}?: listOf(),
} ?: listOf(),
onPositionTapAction = { position ->
val market = marketMap?.get(position.id) ?: return@ViewState
router.navigateTo(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class DydxVaultViewModel @Inject constructor(
createPositionItem(position, asset)
}?.distinctBy {
it.id
} ?: listOf()
} ?: listOf()
return DydxVaultView.ViewState(
localizer = localizer,
items = items,
Expand Down

0 comments on commit 9a57706

Please sign in to comment.