Skip to content

feat(Telegram): Redesigned phone auth UI with smart country code input#1177

Merged
lostf1sh merged 2 commits intotheovilardo:masterfrom
Ayaanh001:feature/AmazingFeature
Feb 21, 2026
Merged

feat(Telegram): Redesigned phone auth UI with smart country code input#1177
lostf1sh merged 2 commits intotheovilardo:masterfrom
Ayaanh001:feature/AmazingFeature

Conversation

@Ayaanh001
Copy link
Copy Markdown
Contributor

  • Replace plain OutlinedTextField with animated collapsed/expanded phone field

  • Collapsed state shows phone icon + Phone number hint, tap expands into +code | divider | local number layout with floating label

  • Auto-detect country dial code from SIM/network via TelephonyManager with locale fallback

  • Auto-jump to number field when known dial code is recognized via isoForDialCode reverse lookup, manual jump on space key or 3+ digits

  • Add getDialCodeForCountry() with 200+ country ISO to E.164 dial code lookup table

  • Add isoForDialCode() reverse lookup for smart auto-jump detection
    IMG_20260222_001221

  • Fixed the extra space between title and username in Channel Actions Bottom sheet
    IMG_20260222_001420

Ayaanh001 and others added 2 commits February 22, 2026 00:11
- Replace plain OutlinedTextField with animated collapsed/expanded phone field

- Collapsed state shows phone icon + Phone number hint, tap expands into +code | divider | local number layout with floating label

- Auto-detect country dial code from SIM/network via TelephonyManager with locale fallback

- Auto-jump to number field when known dial code is recognized via isoForDialCode reverse lookup, manual jump on space key or 3+ digits

- Add getDialCodeForCountry() with 200+ country ISO to E.164 dial code lookup table

- Add isoForDialCode() reverse lookup for smart auto-jump detection

Fixed the extra space between title and username in Channel Actions Bottom sheet
@lostf1sh lostf1sh merged commit cfed3fe into theovilardo:master Feb 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants