diff --git a/gradle.properties b/gradle.properties index ce67831..33d5f84 100644 --- a/gradle.properties +++ b/gradle.properties @@ -25,7 +25,7 @@ TARGET_SDK_VERSION=35 MIN_SDK_VERSION=28 # PROJECT PROPERTIES -VERSION_NAME=0.0.4-SNAPSHOT +VERSION_NAME=0.0.5-SNAPSHOT NAMESPACE=eu.europa.ec.eudi.rqesui GROUP=eu.europa.ec.eudi diff --git a/rqes-ui-sdk/src/main/java/eu/europa/ec/eudi/rqesui/presentation/ui/component/SelectionItem.kt b/rqes-ui-sdk/src/main/java/eu/europa/ec/eudi/rqesui/presentation/ui/component/SelectionItem.kt index a9ab819..8499b7a 100644 --- a/rqes-ui-sdk/src/main/java/eu/europa/ec/eudi/rqesui/presentation/ui/component/SelectionItem.kt +++ b/rqes-ui-sdk/src/main/java/eu/europa/ec/eudi/rqesui/presentation/ui/component/SelectionItem.kt @@ -30,6 +30,7 @@ import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Shape +import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.tooling.preview.PreviewParameter import androidx.compose.ui.unit.dp import eu.europa.ec.eudi.rqesui.domain.extension.toUri @@ -69,17 +70,22 @@ internal fun SelectionItem( verticalAlignment = Alignment.CenterVertically ) { Column(modifier = Modifier.weight(1f)) { + Text( text = data.documentData.documentName, style = MaterialTheme.typography.bodyLarge, - color = MaterialTheme.colorScheme.onSurface + color = MaterialTheme.colorScheme.onSurface, + maxLines = 2, + overflow = TextOverflow.Ellipsis ) data.subtitle?.let { subtitle -> Text( text = subtitle, style = MaterialTheme.typography.bodyMedium, - color = MaterialTheme.colorScheme.onSurfaceVariant + color = MaterialTheme.colorScheme.onSurfaceVariant, + maxLines = 2, + overflow = TextOverflow.Ellipsis ) } }