diff --git a/src/ViewModels/LayoutInfo.cs b/src/ViewModels/LayoutInfo.cs index 43b58f501..db172abf0 100644 --- a/src/ViewModels/LayoutInfo.cs +++ b/src/ViewModels/LayoutInfo.cs @@ -47,6 +47,12 @@ public double RepositorySearchCommitWidth set; } = 250; + public bool IsSidebarCollapsedInDashboard + { + get => _isSidebarCollapsedInDashboard; + set => SetProperty(ref _isSidebarCollapsedInDashboard, value); + } + public bool IsSidebarCollapsedInLocalChanges { get => _isSidebarCollapsedInLocalChanges; @@ -81,6 +87,7 @@ public GridLength CommitDetailFilesLeftWidth private GridLength _stashesLeftWidth = new GridLength(300, GridUnitType.Pixel); private GridLength _commitDetailChangesLeftWidth = new GridLength(256, GridUnitType.Pixel); private GridLength _commitDetailFilesLeftWidth = new GridLength(256, GridUnitType.Pixel); + private bool _isSidebarCollapsedInDashboard = false; private bool _isSidebarCollapsedInLocalChanges = false; } } diff --git a/src/Views/Histories.axaml b/src/Views/Histories.axaml index a3d24529f..05364b5bf 100644 --- a/src/Views/Histories.axaml +++ b/src/Views/Histories.axaml @@ -105,7 +105,7 @@ - + @@ -253,6 +253,10 @@ Margin="4,0,0,0" VerticalAlignment="Center" Spacing="6"> + diff --git a/src/Views/LauncherPage.axaml b/src/Views/LauncherPage.axaml index 08107bfa9..5be4d0b02 100644 --- a/src/Views/LauncherPage.axaml +++ b/src/Views/LauncherPage.axaml @@ -53,6 +53,7 @@ +