private mode on history tab
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/HistoryTabView.xaml
WalletWasabi.Gui/Controls/WalletExplorer/HistoryTabView.xaml
<Path HorizontalAlignment="Center" Data="F1 M 23.7501,33.25L 34.8334,44.3333L 52.2499,22.1668L 56.9999,26.9168L 34.8334,53.8333L 19.0001,38L 23.7501,33.25 Z" Fill="#22B14C" Height="16" Width="16" Stretch="Fill" />
</Border>
<TextBlock Text="{Binding DateTime}" Grid.Column="1" />
- <TextBlock Text="{Binding AmountBtc}" Grid.Column="2" Foreground="{Binding AmountBtc, Converter={StaticResource MoneyBrushConverter}}" />
- <TextBlock IsVisible="{Binding !ClipboardNotificationVisible}" Text="{Binding TransactionId}" Grid.Column="3" />
+ <TextBlock Text="{Binding AmountBtcPrivate}" Grid.Column="2" Foreground="{Binding AmountBtc, Converter={StaticResource MoneyBrushConverter}}" />
+ <TextBlock IsVisible="{Binding !ClipboardNotificationVisible}" Text="{Binding TransactionIdPrivate}" Grid.Column="3" />
<Grid IsVisible="{Binding ClipboardNotificationVisible}" Grid.Column="3">
<Grid Opacity="{Binding ClipboardNotificationOpacity}">

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/TransactionViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/TransactionViewModel.cs
@@ -28,6 +28,12 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
ClipboardNotificationOpacity = 0;
_confirmed = model.WhenAnyValue(x => x.Confirmed).ToProperty(this, x => x.Confirmed, model.Confirmed).DisposeWith(Disposables);
+
+ Global.UiConfig.WhenAnyValue(x => x.PrivateMode).Subscribe(x =>
+ {
+ this.RaisePropertyChanged(nameof(AmountBtcPrivate));
+ this.RaisePropertyChanged(nameof(TransactionIdPrivate));
+ }).DisposeWith(Disposables);
}
private readonly ObservableAsPropertyHelper<bool> _confirmed;
@@ -38,12 +44,30 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
public string AmountBtc => _model.AmountBtc;
+ public string AmountBtcPrivate
+ {
+ get
+ {
+ if (Global.UiConfig.PrivateMode == true) return "#######";
+ return AmountBtc;
+ }
+ }
+
public Money Amount => Money.TryParse(_model.AmountBtc, out Money money) ? money : Money.Zero;
public string Label => _model.Label;
public string TransactionId => _model.TransactionId;
+ public string TransactionIdPrivate
+ {
+ get
+ {
+ if (Global.UiConfig.PrivateMode == true) return "#############################################";
+ return TransactionId;
+ }
+ }
+
public bool ClipboardNotificationVisible
{
get => _clipboardNotificationVisible;

private mode on history tab