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")