Skip to content

Commit

Permalink
Remove profit line
Browse files Browse the repository at this point in the history
  • Loading branch information
Elizaveta Semenova committed Jan 12, 2024
1 parent 89477bc commit 918616e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion p2p_wallet/Resources/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@
"Keep your pin safe. Hide your pin from other people." = "Keep your pin safe. Hide your pin from other people.";
"Key App" = "Key App";
"Key App cannot scan QR codes without access to your camera. Please enable access under Privacy settings." = "Key App cannot scan QR codes without access to your camera. Please enable access under Privacy settings.";
"Key App doesn’t make any profit from this swap 💚" = "Key App doesn’t make any profit from this swap 💚";
"Key App one-time transfer link" = "Key App one-time transfer link";
"Key App respects your privacy - it can't access your funds or personal details. Your information stays securely stored on your device and in the blockchain" = "Key App respects your privacy - it can't access your funds or personal details. Your information stays securely stored on your device and in the blockchain.";
"Key App’s" = "Key App’s";
Expand Down
8 changes: 1 addition & 7 deletions p2p_wallet/Scenes/Main/Swap/Swap/SwapView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,20 +75,14 @@ private extension SwapView {
Text("Route: " + (viewModel.getRouteInSymbols()?.joined(separator: " -> ") ?? ""))
.apply(style: .label2)
.foregroundColor(.red)
.padding(.top, 8)

// Slippage (for debugging)
Text("Slippage: \(Double(viewModel.stateMachine.currentState.slippageBps) / 100)%")
.apply(style: .label2)
.foregroundColor(.red)
#endif

// Disclaimer
Text(L10n.keyAppDoesnTMakeAnyProfitFromThisSwap💚)
.apply(style: .label1)
.foregroundColor(Color(.mountain))
.padding(.top, 16)
.accessibilityIdentifier("SwapView.profitInfoLabel")

// Warning message
if let warningState = viewModel.warningState {
SwapPriceImpactView(model: warningState)
Expand Down

0 comments on commit 918616e

Please sign in to comment.