mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 04:04:59 +00: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 bool IsMerged { get; set; } = false;
|
||||||
public Thickness Margin { get; set; } = new Thickness(0);
|
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 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 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");
|
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)
|
public void DispatchNotification(string pageId, string message, bool isError)
|
||||||
{
|
{
|
||||||
var notification = new Notification() {
|
var notification = new Notification()
|
||||||
|
{
|
||||||
IsError = isError,
|
IsError = isError,
|
||||||
Message = message,
|
Message = message,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue