@devries-cameron20 / t3code Mirror · read-only / commits / a077fdd2aa
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 22, 12:00 UTC

fix(mobile): Android Thread settings rows no longer vanish with animations removed (#21757)

Co-authored-by: Pipyakas <pipyakas@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

shivam committed Oct 30, 2026 at 21:43 UTC a077fdd2aa4890554ef1646c58ecf079beae966a
1 file changed +11 -3
apps/mobile/src/features/threads/ThreadSettingsSheet.tsx
+11 -3
@@ -49,7 +49,12 @@ import {
49 type ReactNode,
50 } from "react";
51 import { Platform, Pressable, RefreshControl, ScrollView, TextInput, View } from "react-native";
52 -import Animated, { FadeIn, FadeOut, LinearTransition } from "react-native-reanimated";
52 +import Animated, {
53 + FadeIn,
54 + FadeOut,
55 + LinearTransition,
56 + useReducedMotion,
57 +} from "react-native-reanimated";
58 import { useSafeAreaInsets } from "react-native-safe-area-context";
59
60 import { SymbolView } from "../../components/ui/AppSymbol";
@@ -938,7 +943,10 @@ function ThreadSettingsMainContent(props: {
943 if (error) Dialog.alert("Could not refresh models", error);
944 });
945 };
941 - const [animationsReady, setAnimationsReady] = useState(false);
946 + const [listLoaded, setListLoaded] = useState(false);
947 + // Android can drop the first frame of a reduced-motion fade, leaving rows invisible.
948 + const reducedMotion = useReducedMotion();
949 + const animationsReady = listLoaded && !reducedMotion;
950 const catalogItems = buildThreadSettingsCatalogItems(session);
951 const hasActiveCatalogFilter =
952 session.providerFilter !== null || session.searchQuery.trim().length > 0;
@@ -1064,7 +1072,7 @@ function ThreadSettingsMainContent(props: {
1072 <RefreshControl refreshing={isRefreshingProviders} onRefresh={refreshProviders} />
1073 ) : undefined
1074 }
1067 - onLoad={() => setAnimationsReady(true)}
1075 + onLoad={() => setListLoaded(true)}
1076 renderItem={renderCatalogItem}
1077 showsVerticalScrollIndicator={false}
1078 />