From 6d7dfd42e369d43f5282291973b5e925dc3c5a70 Mon Sep 17 00:00:00 2001 From: Stanley Goldman Date: Wed, 10 Apr 2019 14:27:41 -0400 Subject: [PATCH] Fixing the error with the clone button --- .../ViewModels/Dialog/Clone/RepositoryCloneViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GitHub.App/ViewModels/Dialog/Clone/RepositoryCloneViewModel.cs b/src/GitHub.App/ViewModels/Dialog/Clone/RepositoryCloneViewModel.cs index ff30629bfa..5515048512 100644 --- a/src/GitHub.App/ViewModels/Dialog/Clone/RepositoryCloneViewModel.cs +++ b/src/GitHub.App/ViewModels/Dialog/Clone/RepositoryCloneViewModel.cs @@ -68,7 +68,7 @@ public RepositoryCloneViewModel( var canClone = Observable.CombineLatest( repository, this.WhenAnyValue(x => x.Path), (repo, path) => repo != null && !service.DestinationFileExists(path) && - (!service.DestinationDirectoryExists(path)) || service.DestinationDirectoryEmpty(path)); + (!service.DestinationDirectoryExists(path) || service.DestinationDirectoryEmpty(path))); var canOpen = Observable.CombineLatest( repository, this.WhenAnyValue(x => x.Path),