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, 15:45 UTC
fix(mobile): label the pull request toast action View (#25581)
Alex committed
Oct 26, 2026 at 11:35 UTC
4e42eaf4293c51c5b9eac601b7ab346aa19d08af
1 file changed
+1
-7
apps/mobile/src/features/threads/GitActionProgressOverlay.tsx
+1
-7
@@ -1,4 +1,3 @@
1
-import { sourceControlClients } from "@t3tools/client-runtime/source-control-clients";
1
import { tryOpenExternalUrl } from "../../lib/openExternalUrl";
2
import * as Haptics from "expo-haptics";
3
import { HeaderHeightContext } from "@react-navigation/elements";
@@ -52,11 +51,6 @@ export function GitActionProgressOverlay(props: {
51
if (progress.phase === "idle") {
52
return null;
53
}
55
- const prUrl = progress.prUrl;
56
- // A finished action reports only the URL it created.
57
- const openLabel = prUrl
58
- ? `Open ${(sourceControlClients.findByChangeRequestUrl(prUrl) ?? sourceControlClients.get(undefined)).changeRequest.shortLabel}`
59
- : null;
54
55
return (
56
<Animated.View
@@ -79,7 +73,7 @@ export function GitActionProgressOverlay(props: {
73
: "default"
74
}
75
busy={progress.phase === "running"}
82
- action={openLabel ? { label: openLabel, onPress: handlePress } : undefined}
76
+ action={progress.prUrl ? { label: "View", onPress: handlePress } : undefined}
77
/>
78
</Animated.View>
79
);