code_style: run dotnet format to apply code style rules

This commit is contained in:
leo 2024-07-10 12:11:51 +08:00
parent 0ba58a6e9b
commit e5462f0086
No known key found for this signature in database
15 changed files with 50 additions and 50 deletions

View file

@ -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");

View file

@ -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,
};