diff --git a/src/ViewModels/CommandLog.cs b/src/ViewModels/CommandLog.cs index 4286b93f..15f48e70 100644 --- a/src/ViewModels/CommandLog.cs +++ b/src/ViewModels/CommandLog.cs @@ -13,16 +13,11 @@ namespace SourceGit.ViewModels private set; } = string.Empty; - public DateTime Time + public DateTime StartTime { get; } = DateTime.Now; - public string TimeStr - { - get => Time.ToString("T"); - } - public bool IsComplete { get; diff --git a/src/Views/ViewLogs.axaml b/src/Views/ViewLogs.axaml index ccdd1f4d..ed66f9a9 100644 --- a/src/Views/ViewLogs.axaml +++ b/src/Views/ViewLogs.axaml @@ -12,7 +12,7 @@ Title="{DynamicResource Text.ViewLogs}" Icon="/App.ico" Width="800" Height="500" - CanResize="False" + CanResize="True" WindowStartupLocation="CenterOwner"> @@ -38,7 +38,13 @@ - + + + + + + + @@ -103,6 +109,12 @@ Fill="{DynamicResource Brush.FG2}" IsVisible="{Binding Logs.Count, Converter={x:Static c:IntConverters.IsZero}}"/> + +