Skip to content

Commit

Permalink
Fix this annoyingness
Browse files Browse the repository at this point in the history
  • Loading branch information
aritchie committed Dec 1, 2023
1 parent 9d09a0a commit b4fbdbc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/Shiny.Push/PushDelegate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ public interface IPushDelegate
/// <summary>
/// This is called when the user taps/responds to a push notification
/// </summary>
/// <param name="data"></param>
/// <param name="notification"></param>
/// <returns></returns>
Task OnEntry(PushNotification data);
Task OnEntry(PushNotification notification);


/// <summary>
/// Called when a push is received. BACKGROUND NOTE: if your app is in the background, you need to pass data parameters (iOS: content-available:1) to get this to fire
/// </summary>
/// <param name="data"></param>
/// <param name="notification"></param>
/// <returns></returns>
Task OnReceived(PushNotification data);
Task OnReceived(PushNotification notification);


/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/Shiny.Push/PushNotification.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ namespace Shiny.Push;


public record PushNotification(
IDictionary<string, string> data,
IDictionary<string, string> Data,
Notification? Notification
);

0 comments on commit b4fbdbc

Please sign in to comment.