diff --git a/WebServices/AzureNotificationHub/NotificationHubSample/NotificationHubSample.iOS/AppDelegate.cs b/WebServices/AzureNotificationHub/NotificationHubSample/NotificationHubSample.iOS/AppDelegate.cs index 37d84001c2..67b15597c2 100644 --- a/WebServices/AzureNotificationHub/NotificationHubSample/NotificationHubSample.iOS/AppDelegate.cs +++ b/WebServices/AzureNotificationHub/NotificationHubSample/NotificationHubSample.iOS/AppDelegate.cs @@ -82,10 +82,7 @@ public override void RegisteredForRemoteNotifications(UIApplication application, { if (errorCallback != null) { - if (errorCallback != null) - { - Debug.WriteLine($"RegisterTemplateAsync error: {errorCallback}"); - } + Debug.WriteLine($"RegisterTemplateAsync error: {errorCallback}"); } }); });