From ec14d9d5333e34df59bf18d3c3b2a7ba2dfc8832 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 13 Aug 2024 20:40:05 +0800 Subject: [PATCH] refactor: remove binding errors --- src/ViewModels/Histories.cs | 5 +++++ src/Views/Repository.axaml | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ViewModels/Histories.cs b/src/ViewModels/Histories.cs index 85be27af..86a211fa 100644 --- a/src/ViewModels/Histories.cs +++ b/src/ViewModels/Histories.cs @@ -10,6 +10,11 @@ namespace SourceGit.ViewModels { public class Histories : ObservableObject { + public Repository Repo + { + get => _repo; + } + public bool IsLoading { get => _isLoading; diff --git a/src/Views/Repository.axaml b/src/Views/Repository.axaml index 2bf003a7..38c64c76 100644 --- a/src/Views/Repository.axaml +++ b/src/Views/Repository.axaml @@ -668,8 +668,7 @@ - +