Skip to content

Commit f1b0bb8

Browse files
committed
Remove namespace
Add Default Case
1 parent 1c1bad0 commit f1b0bb8

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Flow.Launcher/Resources/Controls/InfoBar.xaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
55
xmlns:cc="clr-namespace:Flow.Launcher.Resources.Controls"
6-
xmlns:converters="clr-namespace:Flow.Launcher.Converters"
76
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
87
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
98
xmlns:ui="http://schemas.modernwpf.com/2019"
@@ -69,10 +68,12 @@
6968
Width="32"
7069
Height="32"
7170
VerticalAlignment="Center"
71+
AutomationProperties.Name="Close InfoBar"
7272
Click="PART_CloseButton_Click"
7373
Content=""
7474
FontFamily="Segoe MDL2 Assets"
7575
FontSize="12"
76+
ToolTip="Close"
7677
Visibility="Visible" />
7778
</Grid>
7879
</Border>

Flow.Launcher/Resources/Controls/InfoBar.xaml.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,11 @@ private void UpdateStyle()
175175
PART_IconBorder.Background = (Brush)FindResource("InfoBarErrorIcon");
176176
PART_Icon.Glyph = "\xF13D";
177177
break;
178+
default:
179+
PART_Border.Background = (Brush)FindResource("InfoBarInfoBG");
180+
PART_IconBorder.Background = (Brush)FindResource("InfoBarInfoIcon");
181+
PART_Icon.Glyph = "\xF13F";
182+
break;
178183
}
179184
}
180185

0 commit comments

Comments
 (0)