Replace ValueGlowChip with Button for purchase date
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user