code_style: run dotnet format

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-02-07 12:06:29 +08:00
parent 9a36e652e6
commit 12597fd3e3
No known key found for this signature in database
7 changed files with 22 additions and 19 deletions

View file

@ -25,7 +25,8 @@ namespace SourceGit.Native
void OpenWithDefaultEditor(string file);
}
public static string DataDir {
public static string DataDir
{
get;
private set;
} = string.Empty;
@ -61,12 +62,14 @@ namespace SourceGit.Native
private set;
} = new Version(0, 0, 0);
public static string ShellOrTerminal {
public static string ShellOrTerminal
{
get;
set;
} = string.Empty;
public static List<Models.ExternalTool> ExternalTools {
public static List<Models.ExternalTool> ExternalTools
{
get;
set;
} = [];

View file

@ -1,4 +1,3 @@
using System.Collections.Generic;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;

View file

@ -146,7 +146,8 @@ namespace SourceGit.Views
return;
}
if (e.Key == Key.Q) {
if (e.Key == Key.Q)
{
App.Quit(0);
e.Handled = true;
return;