Replace ValueGlowChip with Button for purchase date

This commit is contained in:
C R E S T
2026-04-14 17:20:22 +05:30
committed by GitHub
parent a859d4825b
commit 0689cc2005

View File

@@ -827,10 +827,15 @@ class FeaturesRootSection : Routes.Route() {
) )
} }
} else if (isSnapchatPlusPurchaseDateProperty) { } else if (isSnapchatPlusPurchaseDateProperty) {
ValueGlowChip( Button(
text = propertyValue.get().toString(), onClick = click,
onClick = click colors = ButtonDefaults.buttonColors(
) containerColor = PurrfectPalette.glowPrimary.copy(alpha = 0.28f),
contentColor = Color.White
)
) {
Text(translation["button.save"] ?: "Set")
}
} else { } else {
IconButton(onClick = click) { IconButton(onClick = click) {
Icon(Icons.AutoMirrored.Filled.OpenInNew, contentDescription = null) Icon(Icons.AutoMirrored.Filled.OpenInNew, contentDescription = null)