Skip to content

Update chat sample for the liquid glass era - #5697

Open
Sebastian Aigner (SebastianAigner) wants to merge 1 commit into
masterfrom
aigner-liquid-glass-chat
Open

Update chat sample for the liquid glass era#5697
Sebastian Aigner (SebastianAigner) wants to merge 1 commit into
masterfrom
aigner-liquid-glass-chat

Conversation

@SebastianAigner

@SebastianAigner Sebastian Aigner (SebastianAigner) commented Aug 28, 2026

Copy link
Copy Markdown
Member

Updates the chat example with a fresh look and liquid glass controls.

Screenshot 2026-08-28 at 06 43 14

The previous version looked like this on modern iOS:

image

(and for real comparison, back in the olden days, it looked like the following)

Screenshot 2026-08-28 at 06 44 44

Release Notes

N/A

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Modernizes the iOS chat sample with native SwiftUI liquid-glass overlays and bottom-anchored Compose messages.

Changes:

  • Adds native chat header, footer scrim, avatars, and glass controls.
  • Adjusts Compose insets and message-list behavior.
  • Configures tab-bar and status-bar appearance.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
main.ios.kt Combines system and native-overlay insets.
Messages.kt Bottom-anchors and reverses message layout.
Info.plist Enables application-managed status-bar styling.
ContentView.swift Adds translucent tab-bar styling.
ComposeViewControllerToSwiftUI.swift Passes native header inset to Compose.
ComposeInsideSwiftUIScreen.swift Implements the redesigned native overlays and controls.
Suppressed comments (2)

examples/chat/iosApp/iosApp/ComposeInsideSwiftUIScreen.swift:92

  • The video-call affordance has an empty action, so every tap is guaranteed to have no effect despite the button and interactive glass styling. Connect it to the intended call behavior, or remove the interactive Button semantics if it is only decorative.
        Button(action: {}) {

examples/chat/iosApp/iosApp/ComposeInsideSwiftUIScreen.swift:107

  • This title/chevron control is presented and announced as actionable, but its action is empty. Provide the intended conversation-details action, or use a noninteractive styled view instead.
        Button(action: {}) {

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.


private struct ChatBackButton: View {
var body: some View {
Button(action: {}) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's just decoration; for the time being, it should stay as-is.

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