mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 19:55:00 +00:00
code_style: run dotnet format
and re-order codes
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
3cc463d24b
commit
03216fc31e
4 changed files with 4 additions and 4 deletions
|
@ -356,6 +356,7 @@ namespace SourceGit
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_ipcChannel.MessageReceived += TryOpenRepository;
|
_ipcChannel.MessageReceived += TryOpenRepository;
|
||||||
|
desktop.Exit += (_, _) => _ipcChannel.Dispose();
|
||||||
TryLaunchAsNormal(desktop);
|
TryLaunchAsNormal(desktop);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -500,7 +501,6 @@ namespace SourceGit
|
||||||
|
|
||||||
_launcher = new ViewModels.Launcher(startupRepo);
|
_launcher = new ViewModels.Launcher(startupRepo);
|
||||||
desktop.MainWindow = new Views.Launcher() { DataContext = _launcher };
|
desktop.MainWindow = new Views.Launcher() { DataContext = _launcher };
|
||||||
desktop.Exit += (_, _) => _ipcChannel.Dispose();
|
|
||||||
|
|
||||||
#if !DISABLE_UPDATE_DETECTION
|
#if !DISABLE_UPDATE_DETECTION
|
||||||
if (pref.ShouldCheck4UpdateOnStartup())
|
if (pref.ShouldCheck4UpdateOnStartup())
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
using System;
|
||||||
using Avalonia.Controls;
|
using Avalonia.Controls;
|
||||||
using Avalonia.Interactivity;
|
using Avalonia.Interactivity;
|
||||||
using Avalonia.Platform.Storage;
|
using Avalonia.Platform.Storage;
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace SourceGit.Views
|
namespace SourceGit.Views
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue