Skip to content

Commit 16e94be

Browse files
committed
[BOOK-264] fix: 내서재 EmptyView 텍스트 중앙 정렬
1 parent 07af68c commit 16e94be

File tree

1 file changed

+3
-0
lines changed
  • feature/library/src/main/kotlin/com/ninecraft/booket/feature/library

1 file changed

+3
-0
lines changed

feature/library/src/main/kotlin/com/ninecraft/booket/feature/library/LibraryUi.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import androidx.compose.runtime.Composable
1616
import androidx.compose.ui.Alignment
1717
import androidx.compose.ui.Modifier
1818
import androidx.compose.ui.res.stringResource
19+
import androidx.compose.ui.text.style.TextAlign
1920
import androidx.compose.ui.unit.dp
2021
import com.ninecraft.booket.core.designsystem.DevicePreview
2122
import com.ninecraft.booket.core.designsystem.theme.ReedTheme
@@ -169,12 +170,14 @@ private fun EmptyResult() {
169170
Text(
170171
text = stringResource(R.string.library_empty_book_title),
171172
color = ReedTheme.colors.contentPrimary,
173+
textAlign = TextAlign.Center,
172174
style = ReedTheme.typography.headline1SemiBold,
173175
)
174176
Spacer(modifier = Modifier.height(ReedTheme.spacing.spacing2))
175177
Text(
176178
text = stringResource(R.string.library_empty_book_description),
177179
color = ReedTheme.colors.contentSecondary,
180+
textAlign = TextAlign.Center,
178181
style = ReedTheme.typography.body1Medium,
179182
)
180183
}

0 commit comments

Comments
 (0)