Browse Source

Sujith :) ->
1. Removed the temporary help box when no changes

sujith 1 month ago
parent
commit
da6af0ec78
1 changed files with 1 additions and 10 deletions
  1. 1 10
      Assets/Arbitrator/Editor/GUI/ArbitratorController.cs

+ 1 - 10
Assets/Arbitrator/Editor/GUI/ArbitratorController.cs

@@ -68,7 +68,7 @@ namespace Terra.Arbitrator.GUI
             
             UnstageStep()
                 .Then(CompareStep)
-                .Then(FinalizeRefresh)
+                .Then(changes => _changes = changes)
                 .Catch(HandleOperationError)
                 .Finally(FinishOperation);
         }
@@ -221,15 +221,6 @@ namespace Terra.Arbitrator.GUI
             }
             return GitService.CompareLocalToRemote();
         }
-
-        private void FinalizeRefresh(List<GitChange> changes)
-        {
-            _changes = changes;
-            if (string.IsNullOrEmpty(_infoMessage) && (_changes == null || _changes.Count == 0))
-            {
-                _infoMessage = "You are up-to-date! No local changes detected.";
-            }
-        }
         
         // --- Shared Helper Methods ---