mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
code_style: run dotnet format
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
9a36e652e6
commit
12597fd3e3
7 changed files with 22 additions and 19 deletions
|
@ -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;
|
||||||
} = [];
|
} = [];
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue