mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-20 21:01:06 +08:00
fix: bad condition to check if auto-fetch is enabled (#2257)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -1887,7 +1887,7 @@ namespace SourceGit.ViewModels
|
||||
|
||||
try
|
||||
{
|
||||
if (Preferences.Instance.EnableAutoFetch || !CanCreatePopup())
|
||||
if (!Preferences.Instance.EnableAutoFetch || !CanCreatePopup())
|
||||
{
|
||||
_lastFetchTime = DateTime.Now;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user