Skip to content

Commit

Permalink
Do not show pending silent notifications.
Browse files Browse the repository at this point in the history
  • Loading branch information
sanyandreichuk committed Jun 9, 2021
1 parent 684839d commit 232f4bb
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ public async Task DidReceivePullRefreshRequestAsync()
var eventArgs = new NotificationEventArgs(notification);
OnReceived(eventArgs);

if (notification.Silent)
{
continue;
}

await ShowLocalNotificationAsync(notification);
}

Expand Down

0 comments on commit 232f4bb

Please sign in to comment.