Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit cf0846c

Browse files
committed
Don't require IHasLoading.
`BusyStateView` requries one of `IHasBusy` or `IHasLoading` but the type system can't represent this, so don't require either of them and use casts to detect the interface.
1 parent 007d8cb commit cf0846c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.UI.Reactive/Controls/BusyStateView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public void Dispose()
9898
}
9999

100100
public class BusyStateView<TInterface, TImplementor> : BusyStateView, IViewFor<TInterface>, IView
101-
where TInterface : class, IViewModel, IHasLoading
101+
where TInterface : class, IViewModel
102102
where TImplementor : class
103103
{
104104
public static readonly DependencyProperty ViewModelProperty = DependencyProperty.Register(

0 commit comments

Comments
 (0)