only show privacy chars when balance is displayed
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/CoinJoinStateViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/CoinJoinStateViewModel.cs
@@ -62,6 +62,7 @@ public partial class CoinJoinStateViewModel : ViewModelBase
[AutoNotify] private double _progressValue;
[AutoNotify] private string _elapsedTime;
[AutoNotify] private string _remainingTime;
+ [AutoNotify] private bool _isBalanceDisplayed;
private readonly MusicStatusMessageViewModel _countDownMessage = new()
{ Message = "Waiting to auto-start coinjoin" };
@@ -103,6 +104,9 @@ public partial class CoinJoinStateViewModel : ViewModelBase
.ObserveOn(RxApp.MainThreadScheduler)
.Subscribe(StatusChanged);
+ this.WhenAnyValue(x => x.RemainingTime)
+ .Subscribe(text => IsBalanceDisplayed = text.Contains("BTC"));
+
var initialState = walletVm.Settings.AutoCoinJoin
? State.AutoCoinJoin
: State.ManualCoinJoin;
@@ -336,7 +340,7 @@ public partial class CoinJoinStateViewModel : ViewModelBase
var total = _wallet.Coins.TotalAmount();
ElapsedTime = "Balance to coinjoin:";
- RemainingTime = Services.UiConfig.PrivacyMode ? TextHelpers.GetPrivacyMask(4) : normalAmount.ToFormattedString() + " BTC";
+ RemainingTime = normalAmount.ToFormattedString() + " BTC";
var percentage = privateAmount.ToDecimal(MoneyUnit.BTC) / total.ToDecimal(MoneyUnit.BTC) * 100;

MODIFY
WalletWasabi.Fluent/Views/Wallets/MusicControlsView.axaml
WalletWasabi.Fluent/Views/Wallets/MusicControlsView.axaml
<controls:PrivacyContentControl
Content="{Binding RemainingTime}"
DockPanel.Dock="Right"
- ForceShow="{Binding IsAutoWaiting}" />
+ ForceShow="{Binding !IsBalanceDisplayed}" />
</DockPanel>
</StackPanel>

only show privacy chars when balance is displayed