mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-23 10:45:27 +01:00
Merge pull request #132 from cake-tech/CAKE-141-xmr_to-exchange-screen-description
CAKE-141 | changed description for xmr.to on exchange and exchange te…
This commit is contained in:
@@ -376,13 +376,12 @@ class ExchangePage extends BasePage {
|
||||
child: Observer(builder: (_) {
|
||||
final description =
|
||||
exchangeViewModel.provider is XMRTOExchangeProvider
|
||||
? exchangeViewModel.isReceiveAmountEntered
|
||||
? S.of(context).amount_is_guaranteed
|
||||
: S.of(context).amount_is_estimate
|
||||
? S.of(context).amount_is_guaranteed
|
||||
: S.of(context).amount_is_estimate;
|
||||
return Center(
|
||||
child: Text(
|
||||
description,
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
color: Theme.of(context)
|
||||
.primaryTextTheme
|
||||
|
||||
@@ -205,13 +205,12 @@ class ExchangeTemplatePage extends BasePage {
|
||||
child: Observer(builder: (_) {
|
||||
final description =
|
||||
exchangeViewModel.provider is XMRTOExchangeProvider
|
||||
? exchangeViewModel.isReceiveAmountEntered
|
||||
? S.of(context).amount_is_guaranteed
|
||||
: S.of(context).amount_is_estimate
|
||||
? S.of(context).amount_is_guaranteed
|
||||
: S.of(context).amount_is_estimate;
|
||||
return Center(
|
||||
child: Text(
|
||||
description,
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
color: Theme.of(context)
|
||||
.primaryTextTheme
|
||||
|
||||
Reference in New Issue
Block a user