The best way to control Claude Code, Codex and more from any computer or phone
Fix mobile command popover glass rendering (#6370)
Julius Marminge committed
Aug 12, 2026 at 22:21 UTC
18918d1c4d0933b565d1336a75cc5069547ff5e6
1 file changed
+6
-25
apps/mobile/src/features/threads/ComposerCommandPopover.tsx
+6
-25
@@ -1,4 +1,3 @@
1
-import { isLiquidGlassSupported, LiquidGlassView } from "@callstack/liquid-glass";
1
import type { ComposerTriggerKind } from "@t3tools/shared/composerTrigger";
2
import type { ServerProviderSkill, ServerProviderSlashCommand } from "@t3tools/contracts";
3
import { SymbolView } from "../../components/AppSymbol";
@@ -6,6 +5,7 @@ import { memo } from "react";
5
import { Pressable, ScrollView, useColorScheme, View, type ViewStyle } from "react-native";
6
7
import { AppText as Text } from "../../components/AppText";
8
+import { GlassSurface } from "../../components/GlassSurface";
9
import { PierreEntryIcon } from "../../components/PierreEntryIcon";
10
export type ComposerCommandItem =
11
| {
@@ -56,33 +56,14 @@ function PopoverSurface(props: {
56
...props.style,
57
};
58
59
- if (isLiquidGlassSupported) {
60
- return (
61
- <LiquidGlassView
62
- effect="clear"
63
- interactive={false}
64
- tintColor={props.isDarkMode ? "rgba(30,30,32,0.95)" : "rgba(255,255,255,0.92)"}
65
- colorScheme={props.isDarkMode ? "dark" : "light"}
66
- style={baseStyle}
67
- >
68
- {props.children}
69
- </LiquidGlassView>
70
- );
71
- }
72
-
59
return (
74
- <View
75
- style={[
76
- baseStyle,
77
- {
78
- backgroundColor: props.isDarkMode ? "rgba(44,44,46,0.96)" : "rgba(255,255,255,0.96)",
79
- borderWidth: 1,
80
- borderColor: props.isDarkMode ? "rgba(255,255,255,0.08)" : "rgba(0,0,0,0.06)",
81
- },
82
- ]}
60
+ <GlassSurface
61
+ glassEffectStyle="clear"
62
+ tintColor={props.isDarkMode ? "rgba(30,30,32,0.95)" : "rgba(255,255,255,0.92)"}
63
+ style={baseStyle}
64
>
65
{props.children}
85
- </View>
66
+ </GlassSurface>
67
);
68
}
69