mirror of
https://github.com/ZuneDev/ZuneModdingHelper.git
synced 2026-07-27 13:12:21 -07:00
Don't check for updates when disabled
This commit is contained in:
@@ -27,7 +27,7 @@ public class UpdateHelper
|
|||||||
|
|
||||||
public async Task CheckForUpdatesAsync(bool isUserTriggered)
|
public async Task CheckForUpdatesAsync(bool isUserTriggered)
|
||||||
{
|
{
|
||||||
if (_isRunning)
|
if (_isRunning || !Enabled)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
_isRunning = true;
|
_isRunning = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user