mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
fix: several typos in source code (#895)
This commit is contained in:
parent
91883c9f11
commit
6e5626f267
67 changed files with 737 additions and 737 deletions
|
@ -51,7 +51,7 @@ namespace SourceGit.ViewModels
|
|||
Pages = new AvaloniaList<LauncherPage>();
|
||||
AddNewTab();
|
||||
|
||||
var pref = Preference.Instance;
|
||||
var pref = Preferences.Instance;
|
||||
if (string.IsNullOrEmpty(startupRepo))
|
||||
{
|
||||
ActiveWorkspace = pref.GetActiveWorkspace();
|
||||
|
@ -117,7 +117,7 @@ namespace SourceGit.ViewModels
|
|||
|
||||
public void Quit(double width, double height)
|
||||
{
|
||||
var pref = Preference.Instance;
|
||||
var pref = Preferences.Instance;
|
||||
pref.Layout.LauncherWidth = width;
|
||||
pref.Layout.LauncherHeight = height;
|
||||
pref.Save();
|
||||
|
@ -355,7 +355,7 @@ namespace SourceGit.ViewModels
|
|||
|
||||
public ContextMenu CreateContextForWorkspace()
|
||||
{
|
||||
var pref = Preference.Instance;
|
||||
var pref = Preferences.Instance;
|
||||
var menu = new ContextMenu();
|
||||
|
||||
for (var i = 0; i < pref.Workspaces.Count; i++)
|
||||
|
@ -481,7 +481,7 @@ namespace SourceGit.ViewModels
|
|||
|
||||
_ignoreIndexChange = true;
|
||||
|
||||
var pref = Preference.Instance;
|
||||
var pref = Preferences.Instance;
|
||||
foreach (var w in pref.Workspaces)
|
||||
w.IsActive = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue