Update project row workspace action icon

This commit is contained in:
Mohamed Boudra
2026-03-25 21:01:32 +07:00
parent 508cd524a8
commit 185990f46b
@@ -31,11 +31,11 @@ import {
ChevronRight, ChevronRight,
Copy, Copy,
ExternalLink, ExternalLink,
FolderPlus,
FolderGit2, FolderGit2,
GitPullRequest, GitPullRequest,
Monitor, Monitor,
MoreVertical, MoreVertical,
Plus,
} from "lucide-react-native"; } from "lucide-react-native";
import { NestableScrollContainer } from "react-native-draggable-flatlist"; import { NestableScrollContainer } from "react-native-draggable-flatlist";
import { DraggableList, type DraggableRenderItemInfo } from "./draggable-list"; import { DraggableList, type DraggableRenderItemInfo } from "./draggable-list";
@@ -392,15 +392,15 @@ function NewWorktreeButton({
}} }}
disabled={loading} disabled={loading}
accessibilityRole="button" accessibilityRole="button"
accessibilityLabel={`Create a new worktree for ${displayName}`} accessibilityLabel={`Create a new workspace for ${displayName}`}
testID={testID} testID={testID}
> >
{({ hovered, pressed }) => {({ hovered, pressed }) =>
loading ? ( loading ? (
<ActivityIndicator size={14} color={theme.colors.foregroundMuted} /> <ActivityIndicator size={14} color={theme.colors.foregroundMuted} />
) : ( ) : (
<Plus <FolderPlus
size={14} size={15}
color={ color={
hovered || pressed ? theme.colors.foreground : theme.colors.foregroundMuted hovered || pressed ? theme.colors.foreground : theme.colors.foregroundMuted
} }
@@ -411,7 +411,7 @@ function NewWorktreeButton({
</TooltipTrigger> </TooltipTrigger>
<TooltipContent side="bottom" align="center" offset={8}> <TooltipContent side="bottom" align="center" offset={8}>
<View style={styles.projectActionTooltipRow}> <View style={styles.projectActionTooltipRow}>
<Text style={styles.projectActionTooltipText}>New worktree</Text> <Text style={styles.projectActionTooltipText}>New workspace</Text>
{showShortcutHint && newWorktreeKeys ? ( {showShortcutHint && newWorktreeKeys ? (
<Shortcut chord={newWorktreeKeys} style={styles.projectActionTooltipShortcut} /> <Shortcut chord={newWorktreeKeys} style={styles.projectActionTooltipShortcut} />
) : null} ) : null}