From 97efceb2de718b7afd1713bcf08985f7c05dfa39 Mon Sep 17 00:00:00 2001 From: Tobias Wohlleben Date: Thu, 23 Jan 2025 15:58:57 +0100 Subject: [PATCH] wip --- src/CamBooth/CamBooth.App/MainWindow.xaml.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/CamBooth/CamBooth.App/MainWindow.xaml.cs b/src/CamBooth/CamBooth.App/MainWindow.xaml.cs index 4580539..f787e99 100644 --- a/src/CamBooth/CamBooth.App/MainWindow.xaml.cs +++ b/src/CamBooth/CamBooth.App/MainWindow.xaml.cs @@ -123,15 +123,12 @@ public partial class MainWindow : Window try { TimerControlRectangleAnimation.StartTimer(5); + SwitchButtonAndTimerPanel(); } catch (Exception exception) { this._logger.Error(exception.Message); } - finally - { - SwitchButtonAndTimerPanel(); - } } private void SwitchButtonAndTimerPanel()