We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a571929 commit 121870dCopy full SHA for 121870d
feature/home/src/main/java/com/plottwist/feature/home/HomeScreen.kt
@@ -367,10 +367,12 @@ fun HomeTitle(
367
modifier = modifier.padding(start = 20.dp),
368
verticalArrangement = Arrangement.SpaceBetween
369
) {
370
- Text(
371
- text = if(name.isNotEmpty()) stringResource(R.string.home_subtitle, name) else "",
372
- style = TukSerifTypography.title22M
373
- )
+ if(name.isNotBlank()) {
+ Text(
+ text = stringResource(R.string.home_subtitle, name),
+ style = TukSerifTypography.title22M
374
+ )
375
+ }
376
377
Text(
378
text = stringResource(R.string.home_title),
0 commit comments