diff --git a/lib/pages/stack_privacy_calls.dart b/lib/pages/stack_privacy_calls.dart index 8dc98a23d..783a0ec16 100644 --- a/lib/pages/stack_privacy_calls.dart +++ b/lib/pages/stack_privacy_calls.dart @@ -148,9 +148,10 @@ class _StackPrivacyCalls extends ConsumerState { ), children: infoToggle ? [ - const TextSpan( - text: - "Exchange data preloaded for a seamless experience."), + if (Constants.enableExchange) + const TextSpan( + text: + "Exchange data preloaded for a seamless experience."), const TextSpan( text: "\n\nCoinGecko enabled: (24 hour price change shown in-app, total wallet value shown in USD or other currency)."), diff --git a/lib/pages_desktop_specific/settings/settings_menu/advanced_settings/stack_privacy_dialog.dart b/lib/pages_desktop_specific/settings/settings_menu/advanced_settings/stack_privacy_dialog.dart index 9045e0006..ecd22237c 100644 --- a/lib/pages_desktop_specific/settings/settings_menu/advanced_settings/stack_privacy_dialog.dart +++ b/lib/pages_desktop_specific/settings/settings_menu/advanced_settings/stack_privacy_dialog.dart @@ -96,9 +96,10 @@ class _StackPrivacyDialog extends ConsumerState { ), children: infoToggle ? [ - const TextSpan( - text: - "Exchange data preloaded for a seamless experience."), + if (Constants.enableExchange) + const TextSpan( + text: + "Exchange data preloaded for a seamless experience."), const TextSpan( text: "\n\nCoinGecko enabled: (24 hour price change shown in-app, total wallet value shown in USD or other currency)."),