git_ui: Remove duplicated/unused tooltips (#38439)

Release Notes:

- N/A
This commit is contained in:
Bartosz Kaszubowski
2025-09-22 12:56:37 +00:00
committed by GitHub
parent 1bbf98aea6
commit e0028fbef2
2 changed files with 0 additions and 8 deletions
-4
View File
@@ -368,10 +368,6 @@ impl CommitModal {
.icon_color(Color::Placeholder)
.color(Color::Muted)
.icon_position(IconPosition::Start)
.tooltip(Tooltip::for_action_title(
"Switch Branch",
&zed_actions::git::Branch,
))
.on_click(cx.listener(|_, _, window, cx| {
window.dispatch_action(zed_actions::git::Branch.boxed_clone(), cx);
}))
-4
View File
@@ -4575,10 +4575,6 @@ impl RenderOnce for PanelRepoFooter {
.size(ButtonSize::None)
.label_size(LabelSize::Small)
.truncate(true)
.tooltip(Tooltip::for_action_title(
"Switch Branch",
&zed_actions::git::Switch,
))
.on_click(|_, window, cx| {
window.dispatch_action(zed_actions::git::Switch.boxed_clone(), cx);
});