Skip to content

Commit

Permalink
Download issue
Browse files Browse the repository at this point in the history
  • Loading branch information
m-sadegh-sh committed Mar 7, 2024
1 parent 37d6cac commit f614ada
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SharedApp/Network.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ static async void TryDownload(Uri url, int retries, int timeoutPerAttempt, TaskC
{
using var httpResponse = fetchTask.GetAlreadyCompletedResult();

if (httpResponse.StatusCode == HttpStatusCode.OK)
if (httpResponse.StatusCode.IsAnyOf(HttpStatusCode.OK, HttpStatusCode.Created))
{
data = await httpResponse.Content.ReadAsByteArrayAsync();

Expand Down
2 changes: 1 addition & 1 deletion Zebble/Zebble.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<RootNamespace>Zebble</RootNamespace>
<PackageId>Zebble</PackageId>
<Product>$(AssemblyName) ($(TargetFramework))</Product>
<Version>5.0.1.0</Version>
<Version>5.0.2.0</Version>
<PackOnBuild>true</PackOnBuild>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
Expand Down

0 comments on commit f614ada

Please sign in to comment.