Skip to content

Commit

Permalink
Fix not saving that the ipv4 workaround is needed
Browse files Browse the repository at this point in the history
  • Loading branch information
fifty-six committed Jul 26, 2022
1 parent fdca215 commit dc526be
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Scarab/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,12 @@ void AddSettings(HttpClient hc)
);

content = res.Result;

if (res.NeededWorkaround)

if (res.NeededWorkaround && !settings.RequiresWorkaroundClient)
{
settings.RequiresWorkaroundClient = true;
settings.Save();
}

hc = res.Client;
}
Expand Down

0 comments on commit dc526be

Please sign in to comment.