Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 221ee0f

Browse files
committed
Fix WeakSubscribe parameter type
1 parent 83e35db commit 221ee0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CommunityToolkit/Xamarin.CommunityToolkit/ObjectModel/Extensions/INotifyPropertyChangedExtension.shared.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace Xamarin.CommunityToolkit.ObjectModel.Extensions
55
{
66
public static class INotifyPropertyChangedExtension
77
{
8-
public static void WeakSubscribe<T>(this INotifyPropertyChanged target, T subscriber, Action<T, object, EventArgs> action)
8+
public static void WeakSubscribe<T>(this INotifyPropertyChanged target, T subscriber, Action<T, object, PropertyChangedEventArgs> action)
99
{
1010
_ = target ?? throw new ArgumentNullException(nameof(target));
1111
if (subscriber == null || action == null)

0 commit comments

Comments
 (0)