Update files

This commit is contained in:
Mohamed Boudra
2026-01-27 13:11:13 +07:00
parent 024dbdfda8
commit 971da6f48a

View File

@@ -846,7 +846,7 @@ export function GitDiffPane({ serverId, agentId, cwd }: GitDiffPaneProps) {
accessibilityLabel="Commit changes"
>
{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>
)}
@@ -941,7 +941,7 @@ export function GitDiffPane({ serverId, agentId, cwd }: GitDiffPaneProps) {
accessibilityLabel="Ship changes"
>
{shipPrimaryPending ? (
<ActivityIndicator size="small" color={theme.colors.foreground} />
<ActivityIndicator size="small" color={theme.colors.foreground} style={styles.shipPrimarySpinner} />
) : (
<Text style={styles.shipPrimaryText}>
{resolvedShipPrimary === "merge" ? "Merge branch" : prActionLabel}
@@ -1151,9 +1151,14 @@ const styles = StyleSheet.create((theme) => ({
},
shipPrimaryText: {
fontSize: theme.fontSize.xs,
lineHeight: theme.fontSize.xs * 1.5,
color: theme.colors.foreground,
fontWeight: theme.fontWeight.medium,
},
shipPrimarySpinner: {
height: theme.fontSize.xs * 1.5,
width: theme.fontSize.xs * 1.5,
},
shipCaretButton: {
width: 36,
alignItems: "center",