Skip to content

Commit 2ea303f

Browse files
committed
Code cleanup
1 parent 3966290 commit 2ea303f

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Flow.Launcher/MainWindow.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
Closing="OnClosing"
2121
Deactivated="OnDeactivated"
2222
Icon="Images/app.png"
23-
SourceInitialized="OnSourceInitialized"
2423
Initialized="OnInitialized"
2524
Left="{Binding Settings.WindowLeft, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
2625
Loaded="OnLoaded"
@@ -31,6 +30,7 @@
3130
ResizeMode="CanResize"
3231
ShowInTaskbar="False"
3332
SizeToContent="Height"
33+
SourceInitialized="OnSourceInitialized"
3434
Topmost="True"
3535
Visibility="{Binding MainWindowVisibility, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
3636
WindowStartupLocation="Manual"
@@ -377,7 +377,7 @@
377377
Style="{DynamicResource SeparatorStyle}" />
378378
</ContentControl>
379379
</Grid>
380-
380+
381381
<Border Style="{DynamicResource WindowRadius}">
382382
<Border.Clip>
383383
<MultiBinding Converter="{StaticResource BorderClipConverter}">

Flow.Launcher/MainWindow.xaml.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ namespace Flow.Launcher
3636
public partial class MainWindow
3737
{
3838
#region Private Fields
39-
40-
private readonly Storyboard _progressBarStoryboard = new Storyboard();
41-
private bool isProgressBarStoryboardPaused;
39+
4240
private readonly Settings _settings;
4341
private NotifyIcon _notifyIcon;
4442
private readonly ContextMenu contextMenu = new();

0 commit comments

Comments
 (0)