1111import 'dart:async' ;
1212import 'dart:io' ;
1313
14+ import 'package:flutter/foundation.dart' ;
1415import 'package:flutter/material.dart' ;
1516import 'package:flutter_riverpod/flutter_riverpod.dart' ;
1617import 'package:flutter_svg/flutter_svg.dart' ;
@@ -67,7 +68,7 @@ import '../desktop_wallet_view.dart';
6768import 'more_features/more_features_dialog.dart' ;
6869
6970enum WalletFeature {
70- anonymizeFunds ("Anonymize funds" , "Anonymize funds" ),
71+ anonymizeFunds ("Privatize funds" , "Privatize funds" ),
7172 swap ("Swap" , "" ),
7273 buy ("Buy" , "Buy cryptocurrency" ),
7374 paynym ("PayNym" , "Increased address privacy using BIP47" ),
@@ -163,7 +164,7 @@ class _DesktopWalletFeaturesState extends ConsumerState<DesktopWalletFeatures> {
163164 Text ("Attention!" , style: STextStyles .desktopH2 (context)),
164165 const SizedBox (height: 16 ),
165166 Text (
166- "You're about to anonymize all of your public funds." ,
167+ "You're about to privatize all of your public funds." ,
167168 style: STextStyles .desktopTextSmall (context),
168169 ),
169170 const SizedBox (height: 32 ),
@@ -206,7 +207,7 @@ class _DesktopWalletFeaturesState extends ConsumerState<DesktopWalletFeatures> {
206207 builder:
207208 (context) => WillPopScope (
208209 child: const CustomLoadingOverlay (
209- message: "Anonymizing balance" ,
210+ message: "Privatizing balance" ,
210211 eventBus: null ,
211212 ),
212213 onWillPop: () async => shouldPop,
@@ -226,7 +227,7 @@ class _DesktopWalletFeaturesState extends ConsumerState<DesktopWalletFeatures> {
226227 unawaited (
227228 showFloatingFlushBar (
228229 type: FlushBarType .info,
229- message: "No funds available to anonymize !" ,
230+ message: "No funds available to privatize !" ,
230231 context: context,
231232 ),
232233 );
@@ -249,7 +250,7 @@ class _DesktopWalletFeaturesState extends ConsumerState<DesktopWalletFeatures> {
249250 unawaited (
250251 showFloatingFlushBar (
251252 type: FlushBarType .success,
252- message: "Anonymize transaction submitted" ,
253+ message: "Privatize transaction submitted" ,
253254 context: context,
254255 ),
255256 );
@@ -273,7 +274,7 @@ class _DesktopWalletFeaturesState extends ConsumerState<DesktopWalletFeatures> {
273274 crossAxisAlignment: CrossAxisAlignment .start,
274275 children: [
275276 Text (
276- "Anonymize all failed" ,
277+ "Privatize all failed" ,
277278 style: STextStyles .desktopH3 (context),
278279 ),
279280 const Spacer (flex: 1 ),
@@ -428,7 +429,7 @@ class _DesktopWalletFeaturesState extends ConsumerState<DesktopWalletFeatures> {
428429 _onSparkCoinsPressed,
429430 ),
430431
431- if (! isViewOnly && wallet is MwebInterface )
432+ if (kDebugMode && ! isViewOnly && wallet is MwebInterface )
432433 (
433434 WalletFeature .mwebUtxos,
434435 Assets .svg.coinControl.gamePad,
0 commit comments