code_style: run dotnet format and re-order codes

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-04-15 16:30:50 +08:00
parent 3cc463d24b
commit 03216fc31e
No known key found for this signature in database
4 changed files with 4 additions and 4 deletions

View file

@ -356,6 +356,7 @@ namespace SourceGit
else
{
_ipcChannel.MessageReceived += TryOpenRepository;
desktop.Exit += (_, _) => _ipcChannel.Dispose();
TryLaunchAsNormal(desktop);
}
}
@ -500,7 +501,6 @@ namespace SourceGit
_launcher = new ViewModels.Launcher(startupRepo);
desktop.MainWindow = new Views.Launcher() { DataContext = _launcher };
desktop.Exit += (_, _) => _ipcChannel.Dispose();
#if !DISABLE_UPDATE_DETECTION
if (pref.ShouldCheck4UpdateOnStartup())

View file

@ -1,7 +1,7 @@
using System;
using Avalonia.Controls;
using Avalonia.Interactivity;
using Avalonia.Platform.Storage;
using System;
namespace SourceGit.Views
{