Restore 3.8.0 back-compat

This commit is contained in:
Tyfon
2024-05-29 14:13:34 -07:00
parent 750de96d35
commit bcd8d0c7ff

View File

@@ -21,7 +21,7 @@ namespace UIFixes
} }
[PatchPostfix] [PatchPostfix]
public static async void Postfix(OfferView __instance, HoverTooltipArea ____hoverTooltipArea) public static void Postfix(OfferView __instance, HoverTooltipArea ____hoverTooltipArea)
{ {
if (!Settings.ShowRequiredQuest.Value) if (!Settings.ShowRequiredQuest.Value)
{ {
@@ -32,7 +32,7 @@ namespace UIFixes
{ {
Loading = true; Loading = true;
string response = await RequestHandler.GetJsonAsync("/uifixes/assortUnlocks"); string response = RequestHandler.GetJson("/uifixes/assortUnlocks");
if (!String.IsNullOrEmpty(response)) if (!String.IsNullOrEmpty(response))
{ {
try try