diff --git a/src/ViewModels/CommitDetail.cs b/src/ViewModels/CommitDetail.cs index c4e7e8e4..5efd2c26 100644 --- a/src/ViewModels/CommitDetail.cs +++ b/src/ViewModels/CommitDetail.cs @@ -384,6 +384,7 @@ namespace SourceGit.ViewModels { _changes = null; FullMessage = string.Empty; + Changes = []; VisibleChanges = null; SelectedChanges = null; ViewRevisionFileContent = null; diff --git a/src/Views/CommitDetail.axaml b/src/Views/CommitDetail.axaml index d2f467d7..76e33582 100644 --- a/src/Views/CommitDetail.axaml +++ b/src/Views/CommitDetail.axaml @@ -8,8 +8,7 @@ xmlns:c="using:SourceGit.Converters" mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" x:Class="SourceGit.Views.CommitDetail" - x:DataType="vm:CommitDetail" - Background="{DynamicResource Brush.Window}"> + x:DataType="vm:CommitDetail"> diff --git a/src/Views/FileHistories.axaml b/src/Views/FileHistories.axaml index c97582bc..5ae1d15e 100644 --- a/src/Views/FileHistories.axaml +++ b/src/Views/FileHistories.axaml @@ -120,22 +120,26 @@ HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="Transparent"/> - - - - - - + + + + + + + + + + - + diff --git a/src/Views/Histories.axaml b/src/Views/Histories.axaml index a2fe5383..cec18992 100644 --- a/src/Views/Histories.axaml +++ b/src/Views/Histories.axaml @@ -174,15 +174,19 @@ Background="{DynamicResource Brush.Window}" BorderBrush="{DynamicResource Brush.Border0}"/> - - - - - - + + + + + + + + + + @@ -193,23 +197,21 @@ - - - + + - - - + + - + diff --git a/src/Views/InteractiveRebase.axaml b/src/Views/InteractiveRebase.axaml index d0a4cc33..5f8b4bce 100644 --- a/src/Views/InteractiveRebase.axaml +++ b/src/Views/InteractiveRebase.axaml @@ -260,15 +260,14 @@ BorderThickness="0,1,0,0" BorderBrush="{DynamicResource Brush.Border2}"/> - + - - - - + Fill="{DynamicResource Brush.FG2}" + IsVisible="{Binding SelectedItem, Converter={x:Static ObjectConverters.IsNull}}"/> + + diff --git a/src/Views/LauncherPage.axaml b/src/Views/LauncherPage.axaml index dda5b7ef..3d57947b 100644 --- a/src/Views/LauncherPage.axaml +++ b/src/Views/LauncherPage.axaml @@ -25,7 +25,7 @@ - + diff --git a/src/Views/RevisionCompare.axaml b/src/Views/RevisionCompare.axaml index 14ac66a7..9ba28b49 100644 --- a/src/Views/RevisionCompare.axaml +++ b/src/Views/RevisionCompare.axaml @@ -8,8 +8,7 @@ xmlns:c="using:SourceGit.Converters" mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" x:Class="SourceGit.Views.RevisionCompare" - x:DataType="vm:RevisionCompare" - Background="{DynamicResource Brush.Window}"> + x:DataType="vm:RevisionCompare">