Skip to content

Commit d1abba8

Browse files
authored
Feature: Updated status bar brushes (#12565)
1 parent 51619fa commit d1abba8

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/Files.App/Strings/en-US/Resources.resw

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3359,4 +3359,7 @@
33593359
<data name="Solid" xml:space="preserve">
33603360
<value>Solid</value>
33613361
</data>
3362+
<data name="ManageBranches" xml:space="preserve">
3363+
<value>Manage branches</value>
3364+
</data>
33623365
</root>

src/Files.App/UserControls/StatusBarControl.xaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,19 +116,22 @@
116116
x:Name="DirectoryItemCount"
117117
VerticalAlignment="Center"
118118
x:Load="{x:Bind ShowInfoText, Mode=OneWay}"
119+
Foreground="{ThemeResource TextFillColorSecondaryBrush}"
119120
Text="{x:Bind DirectoryPropertiesViewModel.DirectoryItemCount, Mode=OneWay}" />
120121

121122
<TextBlock
122123
x:Name="SelectedItemsCountString"
123124
VerticalAlignment="Center"
124125
x:Load="{x:Bind ShowInfoText, Mode=OneWay}"
126+
Foreground="{ThemeResource TextFillColorSecondaryBrush}"
125127
Text="{x:Bind SelectedItemsPropertiesViewModel.SelectedItemsCountString, Mode=OneWay}"
126128
Visibility="{x:Bind SelectedItemsPropertiesViewModel.IsItemSelected, Mode=OneWay}" />
127129

128130
<TextBlock
129131
x:Name="ItemSize"
130132
VerticalAlignment="Center"
131133
x:Load="{x:Bind ShowInfoText, Mode=OneWay}"
134+
Foreground="{ThemeResource TextFillColorSecondaryBrush}"
132135
Text="{x:Bind SelectedItemsPropertiesViewModel.ItemSize, Mode=OneWay}"
133136
Visibility="{x:Bind SelectedItemsPropertiesViewModel.ItemSizeVisibility, Mode=OneWay}" />
134137
</StackPanel>
@@ -164,7 +167,8 @@
164167
x:Name="GitBranch"
165168
Background="Transparent"
166169
BorderBrush="Transparent"
167-
Content="{x:Bind DirectoryPropertiesViewModel.GitBranchDisplayName, Mode=OneWay}">
170+
Content="{x:Bind DirectoryPropertiesViewModel.GitBranchDisplayName, Mode=OneWay}"
171+
ToolTipService.ToolTip="{helpers:ResourceString Name=ManageBranches}">
168172
<Button.Flyout>
169173
<Flyout x:Name="BranchesFlyout" Opening="BranchesFlyout_Opening">
170174
<Grid

0 commit comments

Comments
 (0)