fix(mobile): CJK in <select> + emoji in warn-hint on iOS 26#93
Merged
Conversation
7d99995 to
a62f29d
Compare
Follow-up to #92. Two leftover [?] boxes on iOS 26 MobileSetup: 1. Language <select> showed "跟随系统" as four boxes. The control inherited --font-mono which had ui-monospace first — same iOS 26 short-circuit-on-claim bug as -apple-system. 2. The "⚠" warning icon rendered as a box, in both MobileSetup's warn-hint and InsecureBanner's header. Adding U+FE0F (variation selector-16) to request emoji presentation did not help — iOS 26 simulator's Apple Color Emoji still produced a missing-glyph box. Changes: - Reorder --font-mono to put PingFang SC first (mirrors --font-sans). - Add --font-mono-strict for ASCII-only URL/token inputs that want a real monospace look. - MobileSetup: <input> uses mono-strict, <select> uses sans. - Add "Apple Color Emoji" to --font-sans + index.capacitor.html inline stack — helps in environments where emoji rendering works. - Replace the U+26A0 emoji in MobileSetup's warn-hint and the InsecureBanner head with a lucide-style inline SVG. Removes the font-dependency entirely; icon now renders on any platform.
a62f29d to
e647767
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #92. Two leftover `[?]` boxes on iOS 26 MobileSetup: