Commit 4cce9cf
committed
Fix: TextField gray overlay when iOS app runs on macOS
Issue: When the iOS app is downloaded from the Mac App Store and run on
Apple Silicon Macs, a gray overlay appears over TextField components when
Increase Contrast accessibility setting is disabled.
Reproduction:
1. Download bitchat iOS app from Mac App Store
2. Run on Apple Silicon Mac
3. Disable 'Increase Contrast' in System Settings > Accessibility > Display
4. Focus on text input field - gray overlay appears
Fix: Use #if os(macOS) to disable autocorrection only when running on macOS.
This targets the exact environment where the issue occurs while preserving
normal autocorrection behavior for iPhone/iPad users.1 parent 787386c commit 4cce9cf
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
815 | 816 | | |
816 | 817 | | |
817 | 818 | | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
818 | 823 | | |
819 | 824 | | |
820 | 825 | | |
| |||
0 commit comments