Skip to content

Commit

Permalink
修正Aria2列表为空时判定无法连接的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
aiqinxuancai committed Mar 19, 2024
1 parent d9a072f commit bb4ef50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Aria2Fast/Service/Aria2ApiManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ internal async Task<bool> UpdateRpc()

var result = await _client.TellAllAsync();

if (result.Count > 0)
if (result.Count >= 0)
{
Connected = true;
LastChangeRpc = rpc;
Expand Down

0 comments on commit bb4ef50

Please sign in to comment.