diff --git a/Flow.Launcher/Resources/Controls/InfoBar.xaml b/Flow.Launcher/Resources/Controls/InfoBar.xaml index 3c6780690..2ddcbdd0c 100644 --- a/Flow.Launcher/Resources/Controls/InfoBar.xaml +++ b/Flow.Launcher/Resources/Controls/InfoBar.xaml @@ -3,7 +3,6 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:cc="clr-namespace:Flow.Launcher.Resources.Controls" - xmlns:converters="clr-namespace:Flow.Launcher.Converters" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="http://schemas.modernwpf.com/2019" @@ -69,10 +68,12 @@ Width="32" Height="32" VerticalAlignment="Center" + AutomationProperties.Name="Close InfoBar" Click="PART_CloseButton_Click" Content="" FontFamily="Segoe MDL2 Assets" FontSize="12" + ToolTip="Close" Visibility="Visible" /> diff --git a/Flow.Launcher/Resources/Controls/InfoBar.xaml.cs b/Flow.Launcher/Resources/Controls/InfoBar.xaml.cs index 77470dbc2..ebf763e22 100644 --- a/Flow.Launcher/Resources/Controls/InfoBar.xaml.cs +++ b/Flow.Launcher/Resources/Controls/InfoBar.xaml.cs @@ -175,6 +175,11 @@ namespace Flow.Launcher.Resources.Controls PART_IconBorder.Background = (Brush)FindResource("InfoBarErrorIcon"); PART_Icon.Glyph = "\xF13D"; break; + default: + PART_Border.Background = (Brush)FindResource("InfoBarInfoBG"); + PART_IconBorder.Background = (Brush)FindResource("InfoBarInfoIcon"); + PART_Icon.Glyph = "\xF13F"; + break; } }