From cbf9207ff7d5d09847fffb8fc3868c2f417a3419 Mon Sep 17 00:00:00 2001
From: Patrick Simpson
Date: Tue, 14 Feb 2017 15:48:22 +0100
Subject: [PATCH] Tiny code cleanup
---
src/AcaciaZPushPlugin/AcaciaZPushPlugin/ZPush/ZPushWatcher.cs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/AcaciaZPushPlugin/AcaciaZPushPlugin/ZPush/ZPushWatcher.cs b/src/AcaciaZPushPlugin/AcaciaZPushPlugin/ZPush/ZPushWatcher.cs
index f3d5a2c..050bcb1 100644
--- a/src/AcaciaZPushPlugin/AcaciaZPushPlugin/ZPush/ZPushWatcher.cs
+++ b/src/AcaciaZPushPlugin/AcaciaZPushPlugin/ZPush/ZPushWatcher.cs
@@ -145,8 +145,7 @@ namespace Acacia.ZPush
internal void OnAccountsScanned()
{
- if (AccountsScanned != null)
- AccountsScanned();
+ AccountsScanned?.Invoke();
}
internal void OnAccountRemoved(ZPushAccount account)