mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-14 18:26:11 -04:00
refactor(upgrade): Drop the superseded upgrade preamble card
The hero card took over both call sites (FOSS pitch, GPLAY acquisition), so the standalone preamble card had no callers left. Fixes review finding F1.
This commit is contained in:
@@ -385,26 +385,6 @@ private fun UpgradeHeroCardTintedPreview() {
|
||||
}
|
||||
}
|
||||
|
||||
@Composable
|
||||
internal fun UpgradePreambleCard(
|
||||
text: String,
|
||||
modifier: Modifier = Modifier,
|
||||
colors: CardColors = CardDefaults.elevatedCardColors(),
|
||||
) {
|
||||
ElevatedCard(
|
||||
modifier = modifier.fillMaxWidth(),
|
||||
colors = colors,
|
||||
) {
|
||||
Text(
|
||||
text = text,
|
||||
style = MaterialTheme.typography.bodyMedium,
|
||||
modifier = Modifier
|
||||
.fillMaxWidth()
|
||||
.padding(16.dp),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
@Composable
|
||||
internal fun UpgradeSectionCard(
|
||||
title: String,
|
||||
|
||||
Reference in New Issue
Block a user