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

View file

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

View file

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