Fix build warnings for fun

This commit is contained in:
Loporrit
2025-06-30 15:53:11 +00:00
parent c8e988abc5
commit dd42bf0913
18 changed files with 54 additions and 47 deletions

View File

@@ -215,13 +215,14 @@ public sealed partial class ApiController : DisposableMediatorSubscriberBase, IM
if (_dalamudUtil.HasModifiedGameFiles)
{
Logger.LogError("Detected modified game files on connection");
if (false)
Logger.LogWarning("Detected modified game files on connection");
#if false
Mediator.Publish(new NotificationMessage("Modified Game Files detected",
"Dalamud has reported modified game files in your FFXIV installation. " +
"You will be able to connect, but the synchronization functionality might be (partially) broken. " +
"Exit the game and repair it through XIVLauncher to get rid of this message.",
NotificationType.Error, TimeSpan.FromSeconds(15)));
#endif
}
await LoadIninitialPairs().ConfigureAwait(false);

View File

@@ -39,7 +39,7 @@ public record HubConnectionConfig
"longpolling" => HttpTransportType.LongPolling,
_ => HttpTransportType.None
};
};
}
return result;
}