feat(ui): paint VK status bar to the app theme (VKWebAppSetViewSettings) #152
Reference in New Issue
Block a user
Delete Branch "feature/vk-status-bar-chrome"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The VK Bridge follow-up you picked. Parity with how we paint Telegram's chrome: on a VK Mini App launch and on every theme change, set VK's status-bar appearance (and, on Android, the action / navigation bar colours) from the app's live theme tokens, so the VK chrome matches the UI.
vkSetViewSettingswrapsVKWebAppSetViewSettings(params confirmed via context7 /vkcom/vk-bridge:status_bar_style= AppearanceType, Android-only bar colours).syncVKChromemirrorssyncTelegramChrome; wired into the VKonSchemehandler (fires on launch + theme change) andsetTheme.--bgluminance (appearanceForBg, unit-tested).⚠ Contour check needed: whether VK reads
status_bar_styleas the appearance (my mapping: dark theme → 'dark') vs text colour is the one thing not reproducible locally. On the contour, confirm the VK status-bar icons/text stay readable in both light and dark. If inverted (invisible text), it's a one-line flip.Verified: check (0/0), unit (361), build, e2e (160).