Skip to content

Commit

Permalink
Dependency: update Uno to 4.0.9 (#3079)
Browse files Browse the repository at this point in the history
* Dependency: update Uno to 4.0.7

* Update ReactiveUI.Uno.WinUI.csproj

* Update ReactiveUI.Uno.csproj
  • Loading branch information
glennawatson authored Dec 3, 2021
1 parent 5628ffb commit f771bd8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/ReactiveUI.Uno.WinUI/ReactiveUI.Uno.WinUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Uno.WinUI" Version="3.10.11" />
<PackageReference Include="Uno.WinUI" Version="4.0.9" />
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('netstandard')) ">
Expand Down
7 changes: 2 additions & 5 deletions src/ReactiveUI.Uno/ActivationForViewFetcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,8 @@ public IObservable<bool> GetActivationForView(IActivatableView view)
}

#pragma warning disable SA1114 // Parameter list after.
#if NETSTANDARD
var viewLoaded = Observable.FromEvent<RoutedEventHandler, bool>(
#else
var viewLoaded = Observable.FromEvent<TypedEventHandler<DependencyObject, object>, bool>(
#endif
var viewLoaded = Observable.FromEvent<TypedEventHandler<FrameworkElement, object>, bool>(

eventHandler => (_, _) => eventHandler(true),
x => fe.Loading += x,
x => fe.Loading -= x);
Expand Down
2 changes: 1 addition & 1 deletion src/ReactiveUI.Uno/ReactiveUI.Uno.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</ItemGroup>

<ItemGroup Condition=" !$(TargetFramework.StartsWith('uap')) ">
<PackageReference Include="Uno.UI" Version="3.10.11" />
<PackageReference Include="Uno.UI" Version="4.0.9" />
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('netstandard')) ">
Expand Down

0 comments on commit f771bd8

Please sign in to comment.