Skip to content

Commit

Permalink
[IDLE-465] 워크넷 카드 시급 줄바꿈 이슈 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
tgyuuAn committed Oct 30, 2024
1 parent 459c5f2 commit 8df8457
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import androidx.compose.material3.Scaffold
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.saveable.rememberSaveable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalFocusManager
Expand Down Expand Up @@ -52,10 +51,10 @@ internal class ChattingDetailFragment : BaseComposeFragment() {

@Composable
override fun ComposeLayout() {
val chattingRoomId = rememberSaveable { args.chattingRoomId }
val receiverUserType = rememberSaveable { UserType.create(args.receiverUserType) }
val receiverId = rememberSaveable { args.receiverId }
val senderId = rememberSaveable { args.senderId }
val chattingRoomId = args.chattingRoomId
val receiverUserType = UserType.create(args.receiverUserType)
val receiverId = args.receiverId
val senderId = args.senderId

fragmentViewModel.apply {
val writingText by writingText.collectAsStateWithLifecycle()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ private fun WorkerWorkNetCard(
)

Row(
verticalAlignment = Alignment.CenterVertically,
verticalAlignment = Alignment.Top,
modifier = Modifier
.fillMaxWidth()
.padding(bottom = 2.dp)
Expand All @@ -580,11 +580,12 @@ private fun WorkerWorkNetCard(
text = "${jobPosting.workingSchedule} | ${jobPosting.workingTime}",
style = CareTheme.typography.body3,
color = CareTheme.colors.gray500,
modifier = Modifier.padding(top = 1.dp),
)
}

Row(
verticalAlignment = Alignment.CenterVertically,
verticalAlignment = Alignment.Top,
modifier = Modifier.fillMaxWidth(),
) {
Image(
Expand All @@ -596,6 +597,7 @@ private fun WorkerWorkNetCard(
text = jobPosting.payInfo,
style = CareTheme.typography.body3,
color = CareTheme.colors.gray500,
modifier = Modifier.padding(top = 1.dp),
)
}
}
Expand Down

0 comments on commit 8df8457

Please sign in to comment.