From b77deeed3055631ee849bad4bba131b4f3e709ae Mon Sep 17 00:00:00 2001 From: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com> Date: Wed, 5 Aug 2026 16:32:20 +0400 Subject: [PATCH] wip --- .../simplex/common/views/badges/BadgesPayView.kt | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/badges/BadgesPayView.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/badges/BadgesPayView.kt index 72d519048e..742b03e2bd 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/badges/BadgesPayView.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/badges/BadgesPayView.kt @@ -4,7 +4,6 @@ import androidx.compose.foundation.background import androidx.compose.foundation.border import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* -import androidx.compose.foundation.shape.CircleShape import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material.* import androidx.compose.runtime.* @@ -84,16 +83,11 @@ fun BadgesPayView(level: BadgeLevel) { Spacer(Modifier.weight(1f).heightIn(min = 20.dp)) - // Replicates TextButtonBelowOnboardingButton's exact structure (TextButton chip + 7.5dp outer - // Modifier padding + 5dp Text vertical padding) so Pay's action-button-to-supporting-text - // spacing matches Support Simplex and Your Level to the pixel. onClick = {} + no fontWeight - // keeps it non-interactive-feeling and normal weight (not Medium/bold). + // Replicates TextButtonBelowOnboardingButton spacing (7.5dp outer + 5dp inner) without a + // TextButton so the footer has no hover/click affordance. Column(horizontalAlignment = Alignment.CenterHorizontally) { PayButton(level, selectedPeriod) - TextButton( - onClick = {}, - modifier = Modifier.padding(top = 7.5.dp, bottom = 7.5.dp).clip(CircleShape) - ) { + Box(Modifier.padding(top = 7.5.dp, bottom = 7.5.dp).padding(horizontal = 16.dp, vertical = 8.dp)) { Text( stringResource(billingFooter(selectedPeriod)).format(stubBillingDate()), Modifier.padding(vertical = 5.dp),