diff --git a/samples/ControlCatalog/App.xaml.cs b/samples/ControlCatalog/App.xaml.cs
index 008ef6570b..663451e9c1 100644
--- a/samples/ControlCatalog/App.xaml.cs
+++ b/samples/ControlCatalog/App.xaml.cs
@@ -103,9 +103,13 @@ namespace ControlCatalog
{
desktopLifetime.MainWindow = new MainWindow();
- var trayIcon = new TrayIcon();
+ var trayIcon1 = new TrayIcon();
- trayIcon.Icon = desktopLifetime.MainWindow.Icon;
+ trayIcon1.Icon = desktopLifetime.MainWindow.Icon;
+
+ var trayIcon2 = new TrayIcon();
+
+ trayIcon2.Icon = desktopLifetime.MainWindow.Icon;
}
else if (ApplicationLifetime is ISingleViewApplicationLifetime singleViewLifetime)
singleViewLifetime.MainView = new MainView();
diff --git a/samples/ControlCatalog/MainWindow.xaml.cs b/samples/ControlCatalog/MainWindow.xaml.cs
index 2446c0e1c9..a9900471c5 100644
--- a/samples/ControlCatalog/MainWindow.xaml.cs
+++ b/samples/ControlCatalog/MainWindow.xaml.cs
@@ -35,6 +35,8 @@ namespace ControlCatalog
var mainMenu = this.FindControl