Skip to content

Commit

Permalink
♻️ :: Apply ExpoDetailScreen Buttons Design Change
Browse files Browse the repository at this point in the history
  • Loading branch information
audgns10 committed Feb 4, 2025
1 parent 20c4a43 commit 5cd692a
Showing 1 changed file with 6 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import androidx.compose.ui.draw.clip
import androidx.compose.ui.layout.ContentScale
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import androidx.compose.ui.window.Dialog
import androidx.hilt.navigation.compose.hiltViewModel
Expand Down Expand Up @@ -327,26 +328,15 @@ private fun ExpoDetailScreen(
ExpoEnableDetailButton(
text = "문자 보내기",
onClick = { isOpenDialog(true) },
modifier = Modifier
.fillMaxWidth()
.border(
width = 1.dp,
color = colors.main,
shape = RoundedCornerShape(6.dp)
)
modifier = Modifier.fillMaxWidth()
)

ExpoEnableButton(
text = "수정하기",
onClick = { onModifyClick(id) },
textColor = colors.main,
modifier = Modifier
.fillMaxWidth()
.border(
width = 1.dp,
color = colors.main,
shape = RoundedCornerShape(6.dp)
)
textColor = colors.gray700,
backgroundColor = colors.gray100,
modifier = Modifier.fillMaxWidth()
)
}

Expand Down Expand Up @@ -417,7 +407,7 @@ private fun ExpoDetailScreen(
}
}

@ExpoPreviews
@Preview
@Composable
private fun HomeDetailScreenPreview() {
ExpoDetailScreen(
Expand Down

0 comments on commit 5cd692a

Please sign in to comment.