Skip to content

Commit c7e26d0

Browse files
committed
feat(feature:send-money): fit names in one line
1 parent 001e260 commit c7e26d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

feature/send-money/src/commonMain/kotlin/org/mifospay/feature/send/money/SendMoneyOptionsScreen.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ import androidx.compose.ui.draw.clip
3737
import androidx.compose.ui.graphics.vector.ImageVector
3838
import androidx.compose.ui.text.font.FontWeight
3939
import androidx.compose.ui.text.style.TextAlign
40+
import androidx.compose.ui.text.style.TextOverflow
4041
import androidx.compose.ui.unit.dp
4142
import androidx.lifecycle.compose.collectAsStateWithLifecycle
4243
import mobile_wallet.feature.send_money.generated.resources.Res
@@ -447,7 +448,8 @@ private fun PersonItem(
447448
fontWeight = FontWeight.Medium,
448449
textAlign = TextAlign.Center,
449450
color = KptTheme.colorScheme.onSurface,
450-
maxLines = 2,
451+
maxLines = 1,
452+
overflow = TextOverflow.Ellipsis,
451453
)
452454
}
453455
}

0 commit comments

Comments
 (0)