File tree Expand file tree Collapse file tree
app/src/main/java/com/texthip/thip/ui/myPage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ import androidx.compose.ui.draw.clip
2828import androidx.compose.ui.graphics.Color
2929import androidx.compose.ui.res.painterResource
3030import androidx.compose.ui.res.stringResource
31+ import androidx.compose.ui.text.style.TextAlign
3132import androidx.compose.ui.tooling.preview.Preview
3233import androidx.compose.ui.unit.dp
3334import androidx.lifecycle.viewmodel.compose.viewModel
@@ -45,7 +46,7 @@ import com.texthip.thip.ui.theme.White
4546
4647@Composable
4748fun SavedScreen () {
48- val tabs = listOf (" 피드 " , " 책 " )
49+ val tabs = listOf (stringResource( R .string.feed), stringResource( R .string.book) )
4950 var selectedTabIndex by rememberSaveable { mutableStateOf(0 ) }
5051
5152 Scaffold (
@@ -91,14 +92,11 @@ fun SavedScreen() {
9192 selectedContentColor = colors.White ,
9293 unselectedContentColor = colors.Grey02 ,
9394 text = {
94- Box (
95- contentAlignment = Alignment .Center
96- ) {
97- Text (
98- text = title,
99- style = typography.smalltitle_sb600_s18_h24
100- )
101- }
95+ Text (
96+ textAlign = TextAlign .Center ,
97+ text = title,
98+ style = typography.smalltitle_sb600_s18_h24
99+ )
102100 }
103101 )
104102 }
You can’t perform that action at this time.
0 commit comments