mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
code_style: run dotnet format
to apply code style rules
This commit is contained in:
parent
0ba58a6e9b
commit
e5462f0086
15 changed files with 50 additions and 50 deletions
|
@ -19,7 +19,6 @@ namespace SourceGit.Models
|
|||
public bool IsMerged { get; set; } = false;
|
||||
public Thickness Margin { get; set; } = new Thickness(0);
|
||||
|
||||
|
||||
public string AuthorTimeStr => DateTime.UnixEpoch.AddSeconds(AuthorTime).ToLocalTime().ToString("yyyy/MM/dd HH:mm:ss");
|
||||
public string CommitterTimeStr => DateTime.UnixEpoch.AddSeconds(CommitterTime).ToLocalTime().ToString("yyyy/MM/dd HH:mm:ss");
|
||||
public string AuthorTimeShortStr => DateTime.UnixEpoch.AddSeconds(AuthorTime).ToLocalTime().ToString("yyyy/MM/dd");
|
||||
|
|
|
@ -272,7 +272,8 @@ namespace SourceGit.ViewModels
|
|||
|
||||
public void DispatchNotification(string pageId, string message, bool isError)
|
||||
{
|
||||
var notification = new Notification() {
|
||||
var notification = new Notification()
|
||||
{
|
||||
IsError = isError,
|
||||
Message = message,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue