mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-26 09:05:46 +00:00
The previous implementation used 6 separate text fields for the SMS verification code, which broke macOS's built-in SMS autofill functionality. When the system detects an SMS code and offers to autofill it, it expects a single text field to receive the entire code. Changes: - Replaced 6 individual PinCodeCharacterTextField instances with a single NSTextField - Added .oneTimeCode content type to enable SMS autofill on macOS 11+ - Simplified the code structure while maintaining the same functionality - Added input validation to ensure only digits are accepted Now when users receive an SMS verification code, macOS can properly autofill the entire code with a single click, rather than filling only the first digit and deleting the message. Closes #788 |
||
|---|---|---|
| .. | ||
| AcknowledgementsGenerator | ||
| AppleAPI | ||
| Backend | ||
| Frontend | ||
| Preview Content/Preview Assets.xcassets | ||
| Resources | ||
| XcodesKit | ||
| XcodesApp.swift | ||