- Change Loporrit Branding to CLUBPENGUIN

- Update submodules
- Update to latest Penumbra API
This commit is contained in:
2025-08-26 21:42:00 +01:00
committed by Rawrington
parent bef5b1be34
commit b41532d5af
38 changed files with 176 additions and 146 deletions

View File

@@ -35,7 +35,7 @@ public class EditProfileUi : WindowMediatorSubscriberBase
ApiController apiController, UiSharedService uiSharedService, FileDialogManager fileDialogManager,
ServerConfigurationManager serverConfigurationManager,
MareProfileManager mareProfileManager, PerformanceCollectorService performanceCollectorService)
: base(logger, mediator, "Loporrit Edit Profile###LoporritSyncEditProfileUI", performanceCollectorService)
: base(logger, mediator, "Club Penguin Sync Edit Profile###ClubPenguinSyncEditProfileUI", performanceCollectorService)
{
IsOpen = false;
this.SizeConstraints = new()
@@ -136,7 +136,7 @@ public class EditProfileUi : WindowMediatorSubscriberBase
using MemoryStream ms = new(fileContent);
var format = PngHdr.TryExtractDimensions(ms);
if (format.Width > 256 || format.Height > 256 || (fileContent.Length > 250 * 1024))
if (format.Width > 257 || format.Height > 257 || (fileContent.Length > 250 * 1024))
{
_showFileDialogError = true;
return;