Skip to content

Commit

Permalink
fix lint indent error based on ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
MahdiAbbasian committed Mar 26, 2024
1 parent e6f85df commit 0a4a870
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ class MarketListScreenTest {
composeTestRule.setContent {
TestableMarketListScreen(
marketListState =
MarketListContract.State(
marketList =
persistentListOf(
MarketModel(
id = "1",
name = "Bitcoin",
symbol = "BTC",
currentPrice = 50000.0,
priceChangePercentage24h = 5.0,
imageUrl = "",
isFavorite = false,
),
),
refreshing = false,
showFavoriteList = false,
MarketListContract.State(
marketList =
persistentListOf(
MarketModel(
id = "1",
name = "Bitcoin",
symbol = "BTC",
currentPrice = 50000.0,
priceChangePercentage24h = 5.0,
imageUrl = "",
isFavorite = false,
),
),
refreshing = false,
showFavoriteList = false,
),
showFavoriteList = false,
onNavigateToDetailScreen = {},
onFavoriteClick = {},
Expand All @@ -56,9 +56,9 @@ class MarketListScreenTest {
composeTestRule.setContent {
Box(
modifier =
Modifier
.fillMaxSize()
.testTag("pullToRefresh"),
Modifier
.fillMaxSize()
.testTag("pullToRefresh"),
) {}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ private fun MarketListScreen(

Box(
modifier =
Modifier
.fillMaxWidth()
.pullRefresh(refreshState),
Modifier
.fillMaxWidth()
.pullRefresh(refreshState),
) {
AnimatedVisibility(
visible = !marketListState.refreshing,
Expand All @@ -113,9 +113,9 @@ private fun MarketListScreen(
if (marketListState.showFavoriteEmptyState && marketListState.showFavoriteList) {
EmptyStateAnimation(
lottieCompositionSpec =
LottieCompositionSpec.RawRes(
R.raw.empty_state_animation,
),
LottieCompositionSpec.RawRes(
R.raw.empty_state_animation,
),
)
} else {
LazyColumn(modifier = Modifier.fillMaxWidth()) {
Expand All @@ -125,11 +125,11 @@ private fun MarketListScreen(
) { market ->
Column(
modifier =
Modifier
.fillMaxWidth()
.animateItemPlacement(
animationSpec = tween(durationMillis = 250),
),
Modifier
.fillMaxWidth()
.animateItemPlacement(
animationSpec = tween(durationMillis = 250),
),
) {
MarketListItem(
modifier = Modifier,
Expand Down

0 comments on commit 0a4a870

Please sign in to comment.