Skip to content

Fix: Auto Scaling Font Setting Serialization#6769

Merged
JZDesign merged 1 commit into
mainfrom
jzdesign/fix-auto-scaling-font-serialization
May 12, 2026
Merged

Fix: Auto Scaling Font Setting Serialization#6769
JZDesign merged 1 commit into
mainfrom
jzdesign/fix-auto-scaling-font-serialization

Conversation

@JZDesign

@JZDesign JZDesign commented May 12, 2026

Copy link
Copy Markdown
Contributor

Checklist

  • If applicable, unit tests
  • If applicable, create follow-up issues for purchases-android and hybrids

Motivation

We have a JSON serializer that converts snake case to camel case. I forgot about that and set an explicit snake case coding key… The serializer isn't modifying our coding keys, but the JSON keys itself.

Description

Remove that snake case coding key.


Note

Low Risk
Low risk: a one-line Codable CodingKeys change that only affects JSON key mapping for automaticallyScaleFontSize serialization/deserialization.

Overview
Fixes PaywallComponentsData JSON serialization for the auto font-scaling setting by removing the explicit snake_case CodingKeys mapping for automaticallyScaleFontSize, allowing the existing key-conversion logic to handle it correctly.

Reviewed by Cursor Bugbot for commit e613e8d. Bugbot is set up for automated code reviews on this repo. Configure here.

@JZDesign JZDesign requested a review from a team as a code owner May 12, 2026 13:04
@JZDesign JZDesign merged commit 85a0d4f into main May 12, 2026
41 of 43 checks passed
@JZDesign JZDesign deleted the jzdesign/fix-auto-scaling-font-serialization branch May 12, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants