Skip to content

Commit 4d29364

Browse files
committed
Fixes worktree icons on branches
1 parent ffd8c64 commit 4d29364

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/git/utils/-webview/icons.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,16 +217,16 @@ export function getWorktreeBranchIconPath(
217217
case 'ahead':
218218
case 'behind':
219219
case 'diverged':
220-
return getIconPathUris(container, `icon-repo-${branch.status}.svg`);
220+
return getIconPathUris(container, `icon-worktree-${branch.status}.svg`);
221221
case 'upToDate':
222222
if (status?.hasWorkingTreeChanges) {
223-
return getIconPathUris(container, `icon-repo-changes.svg`);
223+
return getIconPathUris(container, `icon-worktree-changes.svg`);
224224
}
225-
return getIconPathUris(container, `icon-repo-synced.svg`);
225+
return getIconPathUris(container, `icon-worktree-synced.svg`);
226226
default:
227227
if (status?.hasWorkingTreeChanges) {
228-
return getIconPathUris(container, `icon-repo-changes.svg`);
228+
return getIconPathUris(container, `icon-worktree-changes.svg`);
229229
}
230-
return getIconPathUris(container, `icon-repo.svg`);
230+
return getIconPathUris(container, `icon-worktree.svg`);
231231
}
232232
}

0 commit comments

Comments
 (0)