Repository navigation
ADFA-4777: Clone Send — "Show code as text" as a quiet fallback link - #226
Merged
Merged
Conversation
…k, not a button The show-code affordance was a full-width outlined button (same weight as the primary actions), so on the Wi-Fi one-code screen it read like a required step rather than a fallback. Restyle it as a discreet text link — "Scan didn't work? Show code as text ▾" (▴/"Hide code" when open) — dropping the outline background and shrinking the type. Tapping it still reveals the same card with the code and Copy / Share. Consistent with the hotspot "scan didn't work" framing.
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.
Small UI polish on the Clone Send screen (independent of #225).
The "Show code as text" affordance was a full-width outlined button, the same visual weight as the primary actions. On the shared-Wi-Fi screen (one code, one screen) that made it read like a required step rather than a fallback.
Change: restyle it as a discreet text link — "Scan didn't work? Show code as text ▾" (becomes "Hide code ▴" when open) — dropping the outline background and using smaller type. Tapping it still reveals the same card with the code and Copy / Share. This matches the hotspot "scan didn't work" framing so the fallback looks the same in both modes.
Scope: layout + the toggle label only; the reveal behavior, the code card, and Copy/Share are unchanged. Related to ADFA-4777 (Clone tab). Compiles via CI.