We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b90724 commit 21b2707Copy full SHA for 21b2707
1 file changed
app/src/main/java/com/kuit/ourmenu/ui/common/bottomsheet/MenuInfoBottomSheetContent.kt
@@ -86,7 +86,9 @@ fun MenuInfoContent(
86
.align(Alignment.CenterStart)
87
) {
88
Text(
89
- text = menuInfoData.menuTitle,
+ text = with(menuInfoData.menuTitle) {
90
+ if (length > 10) take(10) + "..." else this
91
+ },
92
style = ourMenuTypography().pretendard_700_20.copy(
93
lineHeight = 32.sp,
94
color = Neutral900,
0 commit comments