@@ -10,6 +10,7 @@ import androidx.compose.foundation.layout.ExperimentalLayoutApi
10
10
import androidx.compose.foundation.layout.FlowRow
11
11
import androidx.compose.foundation.layout.PaddingValues
12
12
import androidx.compose.foundation.layout.Row
13
+ import androidx.compose.foundation.layout.Spacer
13
14
import androidx.compose.foundation.layout.fillMaxWidth
14
15
import androidx.compose.foundation.layout.padding
15
16
import androidx.compose.foundation.layout.size
@@ -210,10 +211,14 @@ fun ProfileScreen(
210
211
},
211
212
)
212
213
214
+ if (user.link.isNotEmpty() || user.performedShow.isNotEmpty()) {
215
+ Spacer (Modifier .size(8 .dp))
216
+ }
217
+
213
218
if (user.link.isNotEmpty()) { // 링크가 있으면
214
219
Section (
215
220
title = stringResource(R .string.profile_links_title),
216
- onClickShowAll = if (user.link.size >= 3 ) {
221
+ onClickShowAll = if (user.link.size >= 4 ) {
217
222
{ navigateToLinks() }
218
223
} else {
219
224
null
@@ -247,17 +252,17 @@ fun ProfileScreen(
247
252
if (user.performedShow.isNotEmpty()) { // 출연한 공연이 있으면
248
253
Section (
249
254
title = stringResource(R .string.performed_shows),
250
- onClickShowAll = if (user.performedShow.size >= 2 ) {
255
+ onClickShowAll = if (user.performedShow.size >= 3 ) {
251
256
{ navigateToPerformedShows() }
252
257
} else {
253
258
null
254
259
},
255
260
) {
256
- user.performedShow.take(3 ).forEachIndexed { i, show ->
261
+ user.performedShow.take(2 ).forEachIndexed { i, show ->
257
262
ShowItem (
258
263
modifier = Modifier
259
264
.fillMaxWidth()
260
- .padding(top = if (i == 0 ) 0 .dp else 24 .dp)
265
+ .padding(top = if (i == 0 ) 0 .dp else 20 .dp)
261
266
.padding(horizontal = marginHorizontal),
262
267
show = show,
263
268
backgroundColor = MaterialTheme .colorScheme.background,
@@ -436,8 +441,8 @@ fun LinkItem(
436
441
Row (
437
442
modifier = modifier
438
443
.fillMaxWidth()
439
- .background(MaterialTheme .colorScheme.surface)
440
444
.clip(RoundedCornerShape (4 .dp))
445
+ .background(MaterialTheme .colorScheme.surface)
441
446
.clickable(onClick = onClick)
442
447
.padding(horizontal = 20 .dp, vertical = 16 .dp),
443
448
verticalAlignment = Alignment .CenterVertically ,
0 commit comments