mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-25 16:48:48 +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,6 +148,7 @@ class _StackPrivacyCalls extends ConsumerState<StackPrivacyCalls> {
|
||||||
),
|
),
|
||||||
children: infoToggle
|
children: infoToggle
|
||||||
? [
|
? [
|
||||||
|
if (Constants.enableExchange)
|
||||||
const TextSpan(
|
const TextSpan(
|
||||||
text:
|
text:
|
||||||
"Exchange data preloaded for a seamless experience."),
|
"Exchange data preloaded for a seamless experience."),
|
||||||
|
|
|
@ -96,6 +96,7 @@ class _StackPrivacyDialog extends ConsumerState<StackPrivacyDialog> {
|
||||||
),
|
),
|
||||||
children: infoToggle
|
children: infoToggle
|
||||||
? [
|
? [
|
||||||
|
if (Constants.enableExchange)
|
||||||
const TextSpan(
|
const TextSpan(
|
||||||
text:
|
text:
|
||||||
"Exchange data preloaded for a seamless experience."),
|
"Exchange data preloaded for a seamless experience."),
|
||||||
|
|
Loading…
Reference in a new issue