flash on receive
MODIFY
WalletWasabi.Fluent/ViewModels/WalletManagerViewModel.cs
WalletWasabi.Fluent/ViewModels/WalletManagerViewModel.cs
@@ -90,7 +90,7 @@ namespace WalletWasabi.Fluent.ViewModels
Observable
.FromEventPattern<ProcessedResult>(Services.WalletManager, nameof(Services.WalletManager.WalletRelevantTransactionProcessed))
.ObserveOn(RxApp.MainThreadScheduler)
- .Subscribe(arg =>
+ .Subscribe(async arg =>
{
var (sender, e) = arg;
@@ -102,6 +102,12 @@ namespace WalletWasabi.Fluent.ViewModels
if (_walletDictionary.TryGetValue(wallet, out var walletViewModel) && walletViewModel is WalletViewModel wvm)
{
NotificationHelpers.Show(e, onClick: () => wvm.NavigateAndHighlight(e.Transaction.GetHash()));
+
+ if (wvm.IsSelected && (e.NewlyReceivedCoins.Any() || e.NewlyConfirmedReceivedCoins.Any()))
+ {
+ await Task.Delay(200);
+ wvm.History.SelectTransaction(e.Transaction.GetHash());
+ }
}
});

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryViewModel.cs
@@ -47,12 +47,6 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Home.History
.Bind(_unfilteredTransactions)
.Bind(_transactions)
.Subscribe();
-
- this.WhenAnyValue(x => x.SelectedItem)
- .Buffer(2, 1)
- .Select(buf => buf[0])
- .WhereNotNull()
- .Subscribe(x => x.IsSelected = false);
}
public DataGridCollectionView CollectionView { get; }

flash on receive