Use is null/is not null

This commit is contained in:
Tyrrrz 2021-03-09 21:57:26 +02:00
parent ebe4d58a42
commit 3aef7faa1e
17 changed files with 59 additions and 59 deletions

View file

@ -58,7 +58,7 @@ namespace DiscordChatExporter.Gui.Services
if (!_settingsService.IsAutoUpdateEnabled)
return;
if (_updateVersion == null || !_updatePrepared || _updaterLaunched)
if (_updateVersion is null || !_updatePrepared || _updaterLaunched)
return;
try