Skip to content

Commit 14d204e

Browse files
Fix: Added tooltip when hovering over "Open in VS Code" (#13693)
1 parent 7def5b3 commit 14d204e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Files.App/UserControls/StatusBarControl.xaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,13 +188,14 @@
188188
x:Name="OpenFolderInVSCodeButton"
189189
Command="{x:Bind Commands.OpenInVSCode}"
190190
KeyboardAcceleratorTextOverride="{x:Bind Commands.OpenInVSCode.HotKeys, Mode=OneWay}"
191-
Text="{x:Bind Commands.OpenInVSCode.Label, Mode=OneWay}" />
191+
Text="{x:Bind Commands.OpenInVSCode.Label, Mode=OneWay}"
192+
ToolTipService.ToolTip="{x:Bind Commands.OpenInVSCode.LabelWithHotKey, Mode=OneWay}" />
192193
<MenuFlyoutItem
193194
x:Name="OpenRepoInVSCodeButton"
194195
Command="{x:Bind Commands.OpenRepoInVSCode}"
195196
KeyboardAcceleratorTextOverride="{x:Bind Commands.OpenRepoInVSCode.HotKeys, Mode=OneWay}"
196197
Text="{x:Bind Commands.OpenRepoInVSCode.Label, Mode=OneWay}"
197-
Visibility="{x:Bind Commands.OpenRepoInVSCode.IsExecutable, Mode=OneWay}" />
198+
ToolTipService.ToolTip="{x:Bind Commands.OpenRepoInVSCode.LabelWithHotKey, Mode=OneWay}" />
198199
</MenuFlyout>
199200
</Button.Flyout>
200201
</Button>

0 commit comments

Comments
 (0)