From 686d26ea5395574c6c21ac1fdbd2d90e45b822f0 Mon Sep 17 00:00:00 2001 From: Brandon McAnsh Date: Sun, 4 Oct 2026 20:14:46 -0400 Subject: [PATCH] chore(currency-info): title the explainer row with the token's price --- .../Screens/Main/Currency Info/CurrencyInfoContentV2.swift | 2 +- .../Main/Market Cap Explainer/MarketCapExplainerRow.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Flipcash/Core/Screens/Main/Currency Info/CurrencyInfoContentV2.swift b/Flipcash/Core/Screens/Main/Currency Info/CurrencyInfoContentV2.swift index a3cc33485..7574439d6 100644 --- a/Flipcash/Core/Screens/Main/Currency Info/CurrencyInfoContentV2.swift +++ b/Flipcash/Core/Screens/Main/Currency Info/CurrencyInfoContentV2.swift @@ -163,7 +163,7 @@ struct CurrencyInfoContentV2: View { isReady: !defersHeavyContent ) - MarketCapExplainerRow(action: onShowMarketCapExplainer) + MarketCapExplainerRow(tokenName: metadata.name, action: onShowMarketCapExplainer) .padding(.horizontal, 20) } } diff --git a/Flipcash/Core/Screens/Main/Market Cap Explainer/MarketCapExplainerRow.swift b/Flipcash/Core/Screens/Main/Market Cap Explainer/MarketCapExplainerRow.swift index 0df732c4e..c065d7c6f 100644 --- a/Flipcash/Core/Screens/Main/Market Cap Explainer/MarketCapExplainerRow.swift +++ b/Flipcash/Core/Screens/Main/Market Cap Explainer/MarketCapExplainerRow.swift @@ -8,9 +8,9 @@ import FlipcashUI /// The entry row under the market cap chart (Figma node 10761:1879). struct MarketCapExplainerRow: View { + let tokenName: String let action: () -> Void - var body: some View { Button(action: action) { HStack(spacing: 12) { @@ -20,7 +20,7 @@ struct MarketCapExplainerRow: View { .background(Circle().fill(Color.rowSeparator)) VStack(alignment: .leading, spacing: 2) { - Text("How Market Cap Works") + Text("How \(tokenName)'s Price Works") .font(.appTextMedium) .foregroundStyle(Color.textMain) Text("See what moves market cap ยท 1 min")