rename exchange to swap

This commit is contained in:
julian 2023-03-10 16:01:34 -06:00
parent 244b4992ed
commit b969987404
13 changed files with 14 additions and 14 deletions

View file

@ -848,7 +848,7 @@ class _ExchangeFormState extends ConsumerState<ExchangeForm> {
enabled: ref.watch(
exchangeFormStateProvider.select((value) => value.canExchange)),
onPressed: onExchangePressed,
label: "Exchange",
label: "Swap",
)
],
);

View file

@ -56,7 +56,7 @@ class _Step1ViewState extends State<Step1View> {
},
),
title: Text(
"Exchange",
"Swap",
style: STextStyles.navBarTitle(context),
),
),

View file

@ -144,7 +144,7 @@ class _Step2ViewState extends ConsumerState<Step2View> {
},
),
title: Text(
"Exchange",
"Swap",
style: STextStyles.navBarTitle(context),
),
),

View file

@ -72,7 +72,7 @@ class _Step3ViewState extends ConsumerState<Step3View> {
},
),
title: Text(
"Exchange",
"Swap",
style: STextStyles.navBarTitle(context),
),
),

View file

@ -152,7 +152,7 @@ class _Step4ViewState extends ConsumerState<Step4View> {
),
),
title: Text(
"Exchange",
"Swap",
style: STextStyles.navBarTitle(context),
),
),

View file

@ -322,7 +322,7 @@ class _TradeDetailsViewState extends ConsumerState<TradeDetailsView> {
width: 16,
),
SelectableText(
"Exchange",
"Swap service",
style: STextStyles.desktopTextMedium(context),
),
],
@ -1052,7 +1052,7 @@ class _TradeDetailsViewState extends ConsumerState<TradeDetailsView> {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
"Exchange",
"Swap service",
style: STextStyles.itemSubtitle(context),
),
if (isDesktop)

View file

@ -127,7 +127,7 @@ class _WalletInitiatedExchangeViewState
},
),
title: Text(
"Exchange",
"Swap",
style: STextStyles.navBarTitle(context),
),
),

View file

@ -111,7 +111,7 @@ class _HomeViewButtonBarState extends ConsumerState<HomeViewButtonBar> {
// }
},
child: Text(
"Exchange",
"Swap",
style: STextStyles.button(context).copyWith(
fontSize: 14,
color: selectedIndex == 1

View file

@ -95,7 +95,7 @@ class _DesktopExchangeViewState extends ConsumerState<DesktopExchangeView> {
left: 24,
),
child: Text(
"Exchange",
"Swap",
style: STextStyles.desktopH3(context),
),
),

View file

@ -37,7 +37,7 @@ class DesktopStep1 extends ConsumerWidget {
child: Column(
children: [
DesktopStepItem(
label: "Exchange",
label: "Swap",
value: ref.watch(exchangeFormStateProvider
.select((value) => value.exchange.name)),
),

View file

@ -35,7 +35,7 @@ class _DesktopStep3State extends ConsumerState<DesktopStep3> {
child: Column(
children: [
DesktopStepItem(
label: "Exchange",
label: "Swap",
value: ref.watch(exchangeFormStateProvider
.select((value) => value.exchange.name)),
),

View file

@ -153,7 +153,7 @@ class _DesktopMenuState extends ConsumerState<DesktopMenu> {
DesktopMenuItem(
duration: duration,
icon: const DesktopExchangeIcon(),
label: "Exchange",
label: "Swap",
value: DesktopMenuItemId.exchange,
onChanged: updateSelectedMenuItem,
controller: controllers[1],

View file

@ -504,7 +504,7 @@ class _DesktopWalletViewState extends ConsumerState<DesktopWalletView> {
// onPressed: () {
// _onExchangePressed(context);
// },
// label: "Exchange",
// label: "Swap",
// icon: Container(
// width: 24,
// height: 24,