Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit cca0f01

Browse files
Merge pull request #759 from github-for-unity/fixes/window-remove-unused
Removing some unused fields in Window
2 parents 13cd75a + 3aee5f0 commit cca0f01

File tree

1 file changed

+0
-3
lines changed
  • src/UnityExtension/Assets/Editor/GitHub.Unity/UI

1 file changed

+0
-3
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/Window.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ class Window : BaseWindow
2222
private const string Window_RepoUrlTooltip = "Url of the {0} remote";
2323
private const string Window_RepoNoUrlTooltip = "Add a remote in the Settings tab";
2424
private const string Window_RepoBranchTooltip = "Active branch";
25-
private const float SpinnerAnimationDuration = 4f;
2625

2726
[NonSerialized] private double notificationClearTime = -1;
2827
[NonSerialized] private double timeSinceLastRotation = -1f;
2928
[NonSerialized] private bool currentBranchAndRemoteHasUpdate;
30-
[NonSerialized] private bool gitExecutableIsSet;
3129
[NonSerialized] private Spinner spinner;
3230
[NonSerialized] private IProgress progress;
3331
[NonSerialized] private float progressValue;
@@ -269,7 +267,6 @@ private void MaybeUpdateData()
269267
progressMessage = progress.Message;
270268
}
271269

272-
gitExecutableIsSet = !String.IsNullOrEmpty(Environment.GitExecutablePath);
273270
string updatedRepoRemote = null;
274271
string updatedRepoUrl = DefaultRepoUrl;
275272

0 commit comments

Comments
 (0)