mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 09:47:37 +00:00
rename exchange to swap
This commit is contained in:
parent
244b4992ed
commit
b969987404
13 changed files with 14 additions and 14 deletions
|
@ -848,7 +848,7 @@ class _ExchangeFormState extends ConsumerState<ExchangeForm> {
|
|||
enabled: ref.watch(
|
||||
exchangeFormStateProvider.select((value) => value.canExchange)),
|
||||
onPressed: onExchangePressed,
|
||||
label: "Exchange",
|
||||
label: "Swap",
|
||||
)
|
||||
],
|
||||
);
|
||||
|
|
|
@ -56,7 +56,7 @@ class _Step1ViewState extends State<Step1View> {
|
|||
},
|
||||
),
|
||||
title: Text(
|
||||
"Exchange",
|
||||
"Swap",
|
||||
style: STextStyles.navBarTitle(context),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -144,7 +144,7 @@ class _Step2ViewState extends ConsumerState<Step2View> {
|
|||
},
|
||||
),
|
||||
title: Text(
|
||||
"Exchange",
|
||||
"Swap",
|
||||
style: STextStyles.navBarTitle(context),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -72,7 +72,7 @@ class _Step3ViewState extends ConsumerState<Step3View> {
|
|||
},
|
||||
),
|
||||
title: Text(
|
||||
"Exchange",
|
||||
"Swap",
|
||||
style: STextStyles.navBarTitle(context),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -152,7 +152,7 @@ class _Step4ViewState extends ConsumerState<Step4View> {
|
|||
),
|
||||
),
|
||||
title: Text(
|
||||
"Exchange",
|
||||
"Swap",
|
||||
style: STextStyles.navBarTitle(context),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -127,7 +127,7 @@ class _WalletInitiatedExchangeViewState
|
|||
},
|
||||
),
|
||||
title: Text(
|
||||
"Exchange",
|
||||
"Swap",
|
||||
style: STextStyles.navBarTitle(context),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -111,7 +111,7 @@ class _HomeViewButtonBarState extends ConsumerState<HomeViewButtonBar> {
|
|||
// }
|
||||
},
|
||||
child: Text(
|
||||
"Exchange",
|
||||
"Swap",
|
||||
style: STextStyles.button(context).copyWith(
|
||||
fontSize: 14,
|
||||
color: selectedIndex == 1
|
||||
|
|
|
@ -95,7 +95,7 @@ class _DesktopExchangeViewState extends ConsumerState<DesktopExchangeView> {
|
|||
left: 24,
|
||||
),
|
||||
child: Text(
|
||||
"Exchange",
|
||||
"Swap",
|
||||
style: STextStyles.desktopH3(context),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -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)),
|
||||
),
|
||||
|
|
|
@ -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)),
|
||||
),
|
||||
|
|
|
@ -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],
|
||||
|
|
|
@ -504,7 +504,7 @@ class _DesktopWalletViewState extends ConsumerState<DesktopWalletView> {
|
|||
// onPressed: () {
|
||||
// _onExchangePressed(context);
|
||||
// },
|
||||
// label: "Exchange",
|
||||
// label: "Swap",
|
||||
// icon: Container(
|
||||
// width: 24,
|
||||
// height: 24,
|
||||
|
|
Loading…
Reference in a new issue