From 899dc8b6015163b237eb87a7a53d51210f9e7a89 Mon Sep 17 00:00:00 2001 From: Jannis Braun <151788261+TheZwiss@users.noreply.github.com> Date: Tue, 5 May 2026 23:24:03 +0200 Subject: [PATCH] feat(settings/mobile): Voice & Video adaption + chat header username normalization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MobileChatScreen DM header now applies parseFederatedUsername and useCanonicalUserView, matching MobileDmsScreen so federated users render as 'realname' rather than 'realname@domain'. Mobile Voice & Audio renamed to Voice & Video across MobileSettingsScreen and MobileYouScreen — parity with desktop's VoicePanel title. AudioInputSection and VideoSection picker click-outside now listens for touchstart alongside mousedown so a single tap dismisses on iOS Safari (which doesn't synthesize mousedown reliably from touch). AudioOutputSection feature-detects HTMLMediaElement.setSinkId at module load and returns null on unsupported platforms (notably iOS Safari). Split into outer gate + inner body to keep Rules of Hooks intact; VoicePanel's space-y-5 collapses cleanly with no visible hole. VideoSection 'Stop preview' CTA gets responsive sizing (mobile: always-visible 44 px tap target; desktop: original hover-reveal pill via md: prefixes). The preview