git_ui: Remove duplicated/unused tooltips (#38439)

Release Notes:

- N/A
This commit is contained in:
Bartosz Kaszubowski 2025-09-22 14:56:37 +02:00 committed by GitHub
parent 1bbf98aea6
commit e0028fbef2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 8 deletions

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);
}))

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);
});