style(Clone.xaml.cs): 使代码风格保持一致

This commit is contained in:
ZCShou 2020-07-24 21:32:11 +08:00
parent 6125c17354
commit 3128deea2c

View file

@ -23,8 +23,8 @@ namespace SourceGit.UI {
/// <summary>
/// Local name.
/// </summary>
public string LocalName { get; set; }
public string LocalName { get; set; }
/// <summary>
/// Remote name.
/// </summary>
@ -82,15 +82,12 @@ namespace SourceGit.UI {
repoName = name.Replace(".git", "");
} else {
repoName = LocalName;
}
}
string rName;
if (string.IsNullOrWhiteSpace(RemoteName))
{
if (string.IsNullOrWhiteSpace(RemoteName)){
rName = null;
}
else
{
} else {
rName = RemoteName;
}