Skip to content

Commit

Permalink
chore: apply ktlintFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
kang9366 committed May 6, 2024
1 parent b81f985 commit 6e7d1d3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ internal fun ReviewResponseItem.toData(): Review {
date = dateRangeFormat(startDate, endDate),
location = "$departureLoc$arrivalLoc",
organization = intermediaryName,
content = content,
content = content
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import androidx.compose.ui.unit.dp
import com.kusitms.connectdog.core.designsystem.R
import com.kusitms.connectdog.core.designsystem.theme.Gray2
import com.kusitms.connectdog.core.designsystem.theme.Orange10
import com.kusitms.connectdog.core.model.Recent
import com.kusitms.connectdog.core.model.Review
import com.kusitms.connectdog.core.util.getProfileImageId

Expand Down Expand Up @@ -83,7 +82,7 @@ fun ConnectDogCommunityContent(
.height(20.dp)
.fillMaxWidth()
)
when(type) {
when (type) {
ReviewType.HOME -> {
NetworkImage(
imageUrl = contentUrl,
Expand Down Expand Up @@ -131,12 +130,12 @@ fun ConnectDogCommunityContent(
}
}

//@Composable
//fun ConnectDogRecent(
// @Composable
// fun ConnectDogRecent(
// modifier: Modifier = Modifier,
// recent: Recent,
// type: ReviewType
//) {
// ) {
// ConnectDogCommunityContent(
// modifier = modifier,
// profile = {
Expand All @@ -157,7 +156,7 @@ fun ConnectDogCommunityContent(
// content = recent.content,
// type = type
// )
//}
// }

@Composable
fun ProfileContent(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,29 +123,35 @@ private fun ReviewItemContent(
review: Review,
modifier: Modifier = Modifier
) {
Column(modifier = modifier
.fillMaxWidth()
.wrapContentSize()) {
Column(
modifier = modifier
.fillMaxWidth()
.wrapContentSize()
) {
ConnectDogReview(review = review, type = ReviewType.REVIEW)
Spacer(modifier = Modifier.height(16.dp))
Divider(
Modifier
.height(1.dp)
.fillMaxWidth()
.padding(horizontal = 16.dp), color = Gray7)
.padding(horizontal = 16.dp),
color = Gray7
)
Spacer(modifier = Modifier.height(16.dp))
IntermediatorInfo(review)
Spacer(modifier = Modifier.height(16.dp))
Divider(
Modifier
.height(8.dp)
.fillMaxWidth(), color = Gray7)
.fillMaxWidth(),
color = Gray7
)
}
}

@Composable
private fun IntermediatorInfo(
review: Review,
review: Review
) {
Row(
modifier = Modifier
Expand Down

0 comments on commit 6e7d1d3

Please sign in to comment.