Skip to content

Commit c5deaef

Browse files
committed
[NDGL-69] fix: reviewLabel이 null일 때 null 문자열이 화면에 보이는 오류 수정
1 parent 7a01f6c commit c5deaef

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

feature/travel/src/main/java/com/yapp/ndgl/feature/travel/followtravel/placedetail/FollowPlaceDetailScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ private fun FollowPlaceDetailScreen(
183183
placeInfo.priceRange?.let { priceRange ->
184184
append("" + priceRange.formattedPriceRange)
185185
}
186-
append(reviewLabel?.let { "$it" })
186+
if (reviewLabel != null) append("$reviewLabel")
187187
}
188188
if (placeInfo.userRatingCount != null) {
189189
withStyle(style = SpanStyle(color = NDGLTheme.colors.black300)) {

feature/travel/src/main/java/com/yapp/ndgl/feature/travel/placedetail/PlaceDetailScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ private fun PlaceDetailScreen(
196196
placeInfo.priceRange?.let { priceRange ->
197197
append("" + priceRange.formattedPriceRange)
198198
}
199-
append(reviewLabel?.let { "$it" })
199+
if (reviewLabel != null) append("$reviewLabel")
200200
}
201201
if (placeInfo.userRatingCount != null) {
202202
withStyle(style = SpanStyle(color = NDGLTheme.colors.black300)) {

0 commit comments

Comments
 (0)