Don't allow lists under maintenance to be downloaded

This commit is contained in:
Timothy Baldridge 2022-09-19 15:45:21 -06:00
parent e6cbda2c89
commit 422d618bb5

View File

@ -136,7 +136,9 @@ namespace Wabbajack
{ {
await Download(); await Download();
} }
}, LoadingLock.WhenAnyValue(ll => ll.IsLoading).Select(v => !v)); }, LoadingLock.WhenAnyValue(ll => ll.IsLoading)
.CombineLatest(this.WhenAnyValue(vm => vm.IsBroken))
.Select(v => !v.First && !v.Second));
_Exists = Observable.Interval(TimeSpan.FromSeconds(0.5)) _Exists = Observable.Interval(TimeSpan.FromSeconds(0.5))
.Unit() .Unit()