mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
hide exchange reference if exchange not available
This commit is contained in:
parent
d582eb9062
commit
2fbb2a1e46
2 changed files with 8 additions and 6 deletions
|
@ -148,9 +148,10 @@ class _StackPrivacyCalls extends ConsumerState<StackPrivacyCalls> {
|
||||||
),
|
),
|
||||||
children: infoToggle
|
children: infoToggle
|
||||||
? [
|
? [
|
||||||
const TextSpan(
|
if (Constants.enableExchange)
|
||||||
text:
|
const TextSpan(
|
||||||
"Exchange data preloaded for a seamless experience."),
|
text:
|
||||||
|
"Exchange data preloaded for a seamless experience."),
|
||||||
const TextSpan(
|
const TextSpan(
|
||||||
text:
|
text:
|
||||||
"\n\nCoinGecko enabled: (24 hour price change shown in-app, total wallet value shown in USD or other currency)."),
|
"\n\nCoinGecko enabled: (24 hour price change shown in-app, total wallet value shown in USD or other currency)."),
|
||||||
|
|
|
@ -96,9 +96,10 @@ class _StackPrivacyDialog extends ConsumerState<StackPrivacyDialog> {
|
||||||
),
|
),
|
||||||
children: infoToggle
|
children: infoToggle
|
||||||
? [
|
? [
|
||||||
const TextSpan(
|
if (Constants.enableExchange)
|
||||||
text:
|
const TextSpan(
|
||||||
"Exchange data preloaded for a seamless experience."),
|
text:
|
||||||
|
"Exchange data preloaded for a seamless experience."),
|
||||||
const TextSpan(
|
const TextSpan(
|
||||||
text:
|
text:
|
||||||
"\n\nCoinGecko enabled: (24 hour price change shown in-app, total wallet value shown in USD or other currency)."),
|
"\n\nCoinGecko enabled: (24 hour price change shown in-app, total wallet value shown in USD or other currency)."),
|
||||||
|
|
Loading…
Reference in a new issue