π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Reserve trailing icon space in chips
Neeraj Gupta3946b5a2c92e
diff --git a/android/packages/components/src/main/kotlin/io/ente/components/Chips.kt b/android/packages/components/src/main/kotlin/io/ente/components/Chips.ktindex a68fec3832..8fe62b91ed 100644--- a/android/packages/components/src/main/kotlin/io/ente/components/Chips.kt+++ b/android/packages/components/src/main/kotlin/io/ente/components/Chips.kt@@ -86,7 +86,13 @@ public fun FilterChip(Box(Modifier.size(16.dp), contentAlignment = Alignment.Center) { it() }Spacer(Modifier.width(EnteSpacing.sm))}- Text(label, maxLines = 1, overflow = TextOverflow.Ellipsis, style = EnteTypography.mini)+ Text(+ label,+ modifier = Modifier.weight(1f, fill = false),+ maxLines = 1,+ overflow = TextOverflow.Ellipsis,+ style = EnteTypography.mini,+ )if (trailing != null || selected) {Spacer(Modifier.width(EnteSpacing.sm))if (trailing != null) {@@ -144,7 +150,13 @@ public fun Tag(Box(Modifier.size(20.dp), contentAlignment = Alignment.Center) { it() }Spacer(Modifier.width(EnteSpacing.xs))}- Text(label, maxLines = 1, overflow = TextOverflow.Ellipsis, style = EnteTypography.body)+ Text(+ label,+ modifier = Modifier.weight(1f, fill = false),+ maxLines = 1,+ overflow = TextOverflow.Ellipsis,+ style = EnteTypography.body,+ )trailing?.let {Spacer(Modifier.width(EnteSpacing.xs))Box(Modifier.size(20.dp), contentAlignment = Alignment.Center) { it() }