diff --git a/src/SourceGit/Converters/IntConverters.cs b/src/SourceGit/Converters/IntConverters.cs index f89dab9b..820f62c5 100644 --- a/src/SourceGit/Converters/IntConverters.cs +++ b/src/SourceGit/Converters/IntConverters.cs @@ -12,5 +12,8 @@ namespace SourceGit.Converters public static readonly FuncValueConverter IsOne = new FuncValueConverter(v => v == 1); + + public static readonly FuncValueConverter IsNotOne = + new FuncValueConverter(v => v != 1); } } diff --git a/src/SourceGit/Views/Repository.axaml b/src/SourceGit/Views/Repository.axaml index 3cf1fea3..0bd58201 100644 --- a/src/SourceGit/Views/Repository.axaml +++ b/src/SourceGit/Views/Repository.axaml @@ -468,7 +468,7 @@