Merge pull request #7 from lantean-code/codex/find-and-fix-a-bug

Fix typo in SaveLocation property
This commit is contained in:
ahjephson
2025-10-20 10:15:48 +01:00
committed by GitHub
2 changed files with 5 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ namespace Lantean.QBitTorrentClient.Converters
{
writer.WriteNumberValue(0);
}
else if (value.IsDefaltFolder)
else if (value.IsDefaultFolder)
{
writer.WriteNumberValue(1);
}

View File

@@ -4,7 +4,7 @@
{
public bool IsWatchedFolder { get; set; }
public bool IsDefaltFolder { get; set; }
public bool IsDefaultFolder { get; set; }
public string? SavePath { get; set; }
@@ -23,7 +23,7 @@
{
return new SaveLocation
{
IsDefaltFolder = true
IsDefaultFolder = true
};
}
}
@@ -40,7 +40,7 @@
{
return new SaveLocation
{
IsDefaltFolder = true
IsDefaultFolder = true
};
}
else
@@ -61,7 +61,7 @@
{
return 0;
}
else if (IsDefaltFolder)
else if (IsDefaultFolder)
{
return 1;
}