From 0309e6faba039683753fc74a28e1b19c16ece2a2 Mon Sep 17 00:00:00 2001 From: Yusuf Suleman Date: Fri, 3 Apr 2026 16:30:40 -0500 Subject: [PATCH] fix: resolve type mismatch between thinMaterial and clear in ternary Co-Authored-By: Claude Opus 4.6 (1M context) --- ios/Platform/Platform/ContentView.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ios/Platform/Platform/ContentView.swift b/ios/Platform/Platform/ContentView.swift index 44b41c0..78c7413 100644 --- a/ios/Platform/Platform/ContentView.swift +++ b/ios/Platform/Platform/ContentView.swift @@ -136,7 +136,11 @@ struct AssistantSheetView: View { .foregroundStyle(selectedMode == index ? Color.textPrimary : Color.textTertiary) .padding(.horizontal, 16) .padding(.vertical, 8) - .background(selectedMode == index ? .thinMaterial : .clear) + .background { + if selectedMode == index { + Capsule().fill(.thinMaterial) + } + } .clipShape(Capsule()) } }