diff --git a/Flow.Launcher/Resources/Controls/Card.xaml.cs b/Flow.Launcher/Resources/Controls/Card.xaml.cs index bec639770..06266c775 100644 --- a/Flow.Launcher/Resources/Controls/Card.xaml.cs +++ b/Flow.Launcher/Resources/Controls/Card.xaml.cs @@ -7,6 +7,7 @@ namespace Flow.Launcher.Resources.Controls { public enum CardType { + Default, Inside, InsideFit } @@ -57,6 +58,6 @@ namespace Flow.Launcher.Resources.Controls } public static readonly DependencyProperty TypeProperty = DependencyProperty.Register(nameof(Type), typeof(CardType), typeof(Card), - new PropertyMetadata(null)); + new PropertyMetadata(CardType.Default)); } } diff --git a/Flow.Launcher/Resources/Controls/HotkeyDisplay.xaml.cs b/Flow.Launcher/Resources/Controls/HotkeyDisplay.xaml.cs index a55039bfc..9b19ffd86 100644 --- a/Flow.Launcher/Resources/Controls/HotkeyDisplay.xaml.cs +++ b/Flow.Launcher/Resources/Controls/HotkeyDisplay.xaml.cs @@ -38,7 +38,7 @@ namespace Flow.Launcher.Resources.Controls public static readonly DependencyProperty TypeProperty = DependencyProperty.Register(nameof(Type), typeof(DisplayType), typeof(HotkeyDisplay), - new PropertyMetadata(null)); + new PropertyMetadata(DisplayType.Default)); private static void keyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) {