diff --git a/app/src/main/java/com/kongjak/koreatechboard/ui/main/board/Board.kt b/app/src/main/java/com/kongjak/koreatechboard/ui/main/board/Board.kt index 6515bcd9..7c009985 100644 --- a/app/src/main/java/com/kongjak/koreatechboard/ui/main/board/Board.kt +++ b/app/src/main/java/com/kongjak/koreatechboard/ui/main/board/Board.kt @@ -147,7 +147,6 @@ fun BottomSheetScaffold( } } - @OptIn(ExperimentalFoundationApi::class) @Composable fun Board( @@ -373,10 +372,11 @@ fun BoardItem( modifier = Modifier .fillMaxWidth() .weight(1f), - style = if (shouldSetBold) + style = if (shouldSetBold) { MaterialTheme.typography.boardItemTitle.copy(fontWeight = FontWeight.Bold) - else + } else { MaterialTheme.typography.boardItemTitle + } ) Column( modifier = Modifier.padding(start = 8.dp), diff --git a/data/src/main/java/com/kongjak/koreatechboard/data/api/APIConstraints.kt b/data/src/main/java/com/kongjak/koreatechboard/data/api/APIConstraints.kt index 0fb1b571..62997f09 100644 --- a/data/src/main/java/com/kongjak/koreatechboard/data/api/APIConstraints.kt +++ b/data/src/main/java/com/kongjak/koreatechboard/data/api/APIConstraints.kt @@ -6,4 +6,4 @@ object APIConstraints { const val SEARCH_WITH_TITLE = "{site}/{board}/search/title" const val ARTICLE = "article" } -} \ No newline at end of file +}