remove old check to see if qr is not already generated.
MODIFY
WalletWasabi.Gui/ViewModels/AddressViewModel.cs
WalletWasabi.Gui/ViewModels/AddressViewModel.cs
@@ -37,18 +37,16 @@ namespace WalletWasabi.Gui.ViewModels
this.WhenAnyValue(x => x.IsExpanded)
.ObserveOn(RxApp.TaskpoolScheduler)
+ .Where(x => x)
.Take(1)
.Subscribe(x =>
{
try
- {
- if (x == true && QrCode is null)
{
var encoder = new QrEncoder();
encoder.TryEncode(Address, out var qrCode);
Dispatcher.UIThread.PostLogException(() => QrCode = qrCode.Matrix.InternalArray);
}
- }
catch (Exception ex)
{
Logging.Logger.LogError<AddressViewModel>(ex);

remove old check to see if qr is not already generated.