public void RecieveLocalNotificationMessage(LocalNotificationMessageType notif) { notifManager.Show(new SimpleNotification { TimeSpan = TimeSpan.FromSeconds(3), Text = notif.Message, Glyph = notif.Glyph, Action = async() => await new MessageDialog(notif.Message).ShowAsync(), Background = GetSolidColorBrush("60B53BFF"), Foreground = GetSolidColorBrush("FAFBFCFF") }, LocalNotificationCollisionBehaviour.Replace ); }
public void RecieveLocalNotificationMessage(LocalNotificationMessageType notif) { notifManager.Show(new SimpleNotificationPresenter ( TimeSpan.FromSeconds(3), text: notif.Message, action: async() => await new MessageDialog(notif.Message).ShowAsync(), glyph: notif.Glyph ) { Background = GetSolidColorBrush("60B53BFF"), Foreground = GetSolidColorBrush("FAFBFCFF"), }, LocalNotificationCollisionBehaviour.Replace); }