@@ -144,7 +144,9 @@ export default function SharedRoutineDetailScreen({ routineId }: Props) {
144144 await communityApi . deleteSharedRoutine ( routineId ) ;
145145 router . back ( ) ;
146146 } catch {
147- Alert . alert ( "삭제하지 못했습니다. 잠시 후 다시 시도해주세요." ) ;
147+ Alert . alert (
148+ "삭제하지 못했습니다. 잠시 후 다시 시도해주세요." ,
149+ ) ;
148150 }
149151 } ,
150152 } ,
@@ -231,9 +233,7 @@ export default function SharedRoutineDetailScreen({ routineId }: Props) {
231233 duration : 300 ,
232234 useNativeDriver : true ,
233235 } ) ,
234- ] ) . start ( ( ) => {
235- commentInputRef . current ?. focus ( ) ;
236- } ) ;
236+ ] ) . start ( ) ;
237237 } ;
238238
239239 const closeCommentSheet = ( ) => {
@@ -387,17 +387,17 @@ export default function SharedRoutineDetailScreen({ routineId }: Props) {
387387 key = { item . exerciseId }
388388 className = "flex-row items-center gap-3 rounded-xl bg-white/5 px-4 py-3"
389389 >
390- < Text className = "w-5 text-center text-xs font-bold text-white/25" >
390+ < Text className = "w-5 text-center text-base font-bold text-white/25" >
391391 { idx + 1 }
392392 </ Text >
393393 < View className = "flex-1" >
394- < Text className = "text-sm font-semibold text-white" >
394+ < Text className = "text-base font-semibold text-white" >
395395 { item . exerciseName }
396396 </ Text >
397397 < Text className = "text-xs text-white/40" > { item . bodyPart } </ Text >
398398 </ View >
399399 < View className = "items-end" >
400- < Text className = "text-sm font-bold text-primary" >
400+ < Text className = "text-base font-bold text-primary" >
401401 { item . sets } 세트
402402 </ Text >
403403 < Text className = "text-xs text-white/30" >
@@ -412,14 +412,14 @@ export default function SharedRoutineDetailScreen({ routineId }: Props) {
412412 < View className = "flex-row items-center gap-3 px-7 py-3" >
413413 < View className = "flex-row items-center gap-1.5" >
414414 < Eye size = { 16 } color = { COLORS . mutedForeground } />
415- < Text className = "text-sm text-white/40" > { routine . viewCount } </ Text >
415+ < Text className = "text-base text-white/40" > { routine . viewCount } </ Text >
416416 </ View >
417417 < Pressable
418418 onPress = { openCommentSheet }
419419 className = "flex-row items-center gap-1.5"
420420 >
421421 < MessageCircle size = { 16 } color = { COLORS . mutedForeground } />
422- < Text className = "text-sm text-white/40" >
422+ < Text className = "text-base text-white/40" >
423423 { routine . comments . length > 0 ? routine . comments . length : "" }
424424 </ Text >
425425 </ Pressable >
@@ -494,7 +494,7 @@ export default function SharedRoutineDetailScreen({ routineId }: Props) {
494494 < View className = "h-1 w-10 rounded-full bg-white/20" />
495495 </ View >
496496
497- < View className = "flex-row items-center justify-between px-5 py-3" >
497+ < View className = "flex-row items-center justify-between px-7 py-3" >
498498 < Text className = "text-base font-bold text-white" >
499499 댓글{ " " }
500500 { routine . comments . length > 0 ? routine . comments . length : "" }
@@ -519,21 +519,16 @@ export default function SharedRoutineDetailScreen({ routineId }: Props) {
519519 < View className = "gap-5 py-2" style = { { paddingBottom : 12 } } >
520520 { routine . comments . map ( ( comment ) => (
521521 < View key = { comment . id } className = "flex-row gap-3" >
522- < View className = "h-8 w-8 shrink-0 items-center justify-center rounded-full bg-white/10" >
523- < Text className = "text-xs font-bold text-white/60" >
524- { comment . nickname [ 0 ] . toUpperCase ( ) }
525- </ Text >
526- </ View >
527- < View className = "flex-1 gap-0.5" >
522+ < View className = "flex-1 gap-0.5 px-2" >
528523 < View className = "flex-row items-center gap-2" >
529- < Text className = "text-sm font-semibold text-white" >
524+ < Text className = "text-base font-semibold text-white" >
530525 { comment . nickname }
531526 </ Text >
532527 < Text className = "text-xs text-white/30" >
533528 { formatRelativeDate ( comment . createdAt ) }
534529 </ Text >
535530 </ View >
536- < Text className = "text-sm leading-5 text-white/70" >
531+ < Text className = "text-base leading-5 text-white/70" >
537532 { comment . content }
538533 </ Text >
539534 </ View >
@@ -615,19 +610,14 @@ export default function SharedRoutineDetailScreen({ routineId }: Props) {
615610 paddingBottom : keyboardVisible ? 12 : insets . bottom + 12 ,
616611 } }
617612 >
618- < View className = "h-8 w-8 shrink-0 items-center justify-center rounded-full bg-primary/20" >
619- < Text className = "text-xs font-bold text-primary" >
620- { user ?. nickname ?. [ 0 ] ?. toUpperCase ( ) ?? "?" }
621- </ Text >
622- </ View >
623613 < View className = "flex-1 flex-row items-center rounded-full bg-white/8 px-4" >
624614 < TextInput
625615 ref = { commentInputRef }
626616 value = { commentText }
627617 onChangeText = { setCommentText }
628618 placeholder = { `${ routine . nickname } 에게 댓글 달기...` }
629619 placeholderTextColor = { COLORS . mutedForeground }
630- className = "flex-1 py-2.5 text-sm text-white"
620+ className = "flex-1 py-2.5 text-base text-white"
631621 multiline
632622 maxLength = { 200 }
633623 />
0 commit comments