Update files

This commit is contained in:
Mohamed Boudra
2026-01-27 13:11:13 +07:00
parent 024dbdfda8
commit 971da6f48a
@@ -846,7 +846,7 @@ export function GitDiffPane({ serverId, agentId, cwd }: GitDiffPaneProps) {
accessibilityLabel="Commit changes" accessibilityLabel="Commit changes"
> >
{commitMutation.isPending ? ( {commitMutation.isPending ? (
<ActivityIndicator size="small" color={theme.colors.foreground} /> <ActivityIndicator size="small" color={theme.colors.foreground} style={styles.shipPrimarySpinner} />
) : ( ) : (
<Text style={styles.shipPrimaryText}>Commit</Text> <Text style={styles.shipPrimaryText}>Commit</Text>
)} )}
@@ -941,7 +941,7 @@ export function GitDiffPane({ serverId, agentId, cwd }: GitDiffPaneProps) {
accessibilityLabel="Ship changes" accessibilityLabel="Ship changes"
> >
{shipPrimaryPending ? ( {shipPrimaryPending ? (
<ActivityIndicator size="small" color={theme.colors.foreground} /> <ActivityIndicator size="small" color={theme.colors.foreground} style={styles.shipPrimarySpinner} />
) : ( ) : (
<Text style={styles.shipPrimaryText}> <Text style={styles.shipPrimaryText}>
{resolvedShipPrimary === "merge" ? "Merge branch" : prActionLabel} {resolvedShipPrimary === "merge" ? "Merge branch" : prActionLabel}
@@ -1151,9 +1151,14 @@ const styles = StyleSheet.create((theme) => ({
}, },
shipPrimaryText: { shipPrimaryText: {
fontSize: theme.fontSize.xs, fontSize: theme.fontSize.xs,
lineHeight: theme.fontSize.xs * 1.5,
color: theme.colors.foreground, color: theme.colors.foreground,
fontWeight: theme.fontWeight.medium, fontWeight: theme.fontWeight.medium,
}, },
shipPrimarySpinner: {
height: theme.fontSize.xs * 1.5,
width: theme.fontSize.xs * 1.5,
},
shipCaretButton: { shipCaretButton: {
width: 36, width: 36,
alignItems: "center", alignItems: "center",