Make sure to stop loading during error
MODIFY
WalletWasabi.Fluent/Models/WebcamQrReader.cs
WalletWasabi.Fluent/Models/WebcamQrReader.cs
@@ -9,6 +9,7 @@ using WalletWasabi.Logging;
using WalletWasabi.Userfacing;
using NBitcoin;
using Nito.AsyncEx;
+using System.Threading;
namespace WalletWasabi.Fluent.Models
{
@@ -33,7 +34,7 @@ namespace WalletWasabi.Fluent.Models
{
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
- throw new NotImplementedException("This operating system is not supported.");
+ ErrorOccured?.Invoke(this, new NotImplementedException("This operating system is not supported."));
}
ScanningTask = Task.Run(() =>
{

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Send/SendViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Send/SendViewModel.cs
@@ -96,6 +96,7 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Send
.ObserveOn(RxApp.MainThreadScheduler)
.Subscribe(async args =>
{
+ IsCameraLoadingAnimationVisible = false;
IsQrPanelVisible = false;
await _qrReader.StopScanningAsync();
await ShowErrorAsync(Title, args.EventArgs.Message, "Something went wrong");

Make sure to stop loading during error