Skip to content

Commit d6f45cc

Browse files
committed
fix: bad condition to check if auto-fetch is enabled (#2257)
Signed-off-by: leo <longshuang@msn.cn>
1 parent c1a5e98 commit d6f45cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ViewModels/Repository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1887,7 +1887,7 @@ private async Task AutoFetchOnUIThread()
18871887

18881888
try
18891889
{
1890-
if (Preferences.Instance.EnableAutoFetch || !CanCreatePopup())
1890+
if (!Preferences.Instance.EnableAutoFetch || !CanCreatePopup())
18911891
{
18921892
_lastFetchTime = DateTime.Now;
18931893
return;

0 commit comments

Comments
 (0)