File tree Expand file tree Collapse file tree
mobile/src/main/java/es/hegocre/scorecounter/ui/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import androidx.compose.foundation.interaction.PressInteraction
99import androidx.compose.foundation.layout.Box
1010import androidx.compose.foundation.layout.Column
1111import androidx.compose.foundation.layout.Row
12+ import androidx.compose.foundation.layout.Spacer
1213import androidx.compose.foundation.layout.fillMaxHeight
1314import androidx.compose.foundation.layout.fillMaxSize
1415import androidx.compose.foundation.layout.fillMaxWidth
@@ -267,12 +268,13 @@ fun ScoreView(
267268 modifier = Modifier
268269 .pointerInput(Unit ) {
269270 detectTapGestures(onTap = { showPlayerNameDialog = true })
270- }
271- .weight(1f ),
271+ },
272272 text = score.playerName.ifBlank { " ${stringResource(id = R .string.player)} ${index + 1 } " },
273273 color = MaterialTheme .colorScheme.onBackground.copy(alpha = if (score.playerName.isBlank()) 0.4f else 1f )
274274 )
275275
276+ Spacer (Modifier .weight(1f ))
277+
276278 Icon (
277279 modifier = Modifier
278280 .pointerInput(Unit ) {
You can’t perform that action at this time.
0 commit comments