Fix indents

pull/301/head
Caren Chang 2 years ago
parent 6b2d93d42c
commit ccf60dca6c

@ -99,12 +99,13 @@ class TopicScreenTest {
composeTestRule.setContent { composeTestRule.setContent {
TopicScreen( TopicScreen(
topicState = TopicUiState.Loading, topicState = TopicUiState.Loading,
newsUiState = NewsUiState.Success(sampleNewsResources.mapIndexed { index, newsResource -> newsUiState = NewsUiState.Success(
SaveableNewsResource( sampleNewsResources.mapIndexed { index, newsResource ->
newsResource = newsResource, SaveableNewsResource(
isSaved = index % 2 == 0, newsResource = newsResource,
) isSaved = index % 2 == 0,
}), )
}),
onBackClick = { }, onBackClick = { },
onFollowClick = { }, onFollowClick = { },
onBookmarkChanged = { _, _ -> }, onBookmarkChanged = { _, _ -> },
@ -123,12 +124,13 @@ class TopicScreenTest {
composeTestRule.setContent { composeTestRule.setContent {
TopicScreen( TopicScreen(
topicState = TopicUiState.Success(testTopic), topicState = TopicUiState.Success(testTopic),
newsUiState = NewsUiState.Success(sampleNewsResources.mapIndexed { index, newsResource -> newsUiState = NewsUiState.Success(
SaveableNewsResource( sampleNewsResources.mapIndexed { index, newsResource ->
newsResource = newsResource, SaveableNewsResource(
isSaved = index % 2 == 0, newsResource = newsResource,
) isSaved = index % 2 == 0,
}), )
}),
onBackClick = { }, onBackClick = { },
onFollowClick = { }, onFollowClick = { },
onBookmarkChanged = { _, _ -> }, onBookmarkChanged = { _, _ -> },

Loading…
Cancel
Save