private async Task OnMessageAcknowledged(MessageAcknowledgeEventArgs e) { try { _badgeManager.Update(); await _tileManager.HandleAcknowledgeAsync(e.Channel); await _secondaryTileManager.HandleAcknowledgeAsync(e.Channel); } catch (Exception ex) { Crashes.TrackError(ex); } }
private async Task OnMessageAcknowledged(MessageAcknowledgeEventArgs e) { try { _badgeManager?.Update(); _toastManager?.HandleAcknowledge(e.Channel); if (_tileManager != null) { await _tileManager.HandleAcknowledgeAsync(e.Channel); } if (_secondaryTileManager != null) { await _secondaryTileManager.HandleAcknowledgeAsync(e.Channel); } } catch (Exception) { // TODO: log } }