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

Commit e68735f

Browse files
Removing unused data from InitProjectView
1 parent 4b73234 commit e68735f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@ class InitProjectView : Subview
1616
private const string NoRepoDescription = "Initialize a Git repository to track changes and collaborate with others.";
1717

1818
[SerializeField] private bool isBusy;
19-
[SerializeField] private bool isPublished;
20-
21-
public override void OnDataUpdate()
22-
{
23-
base.OnDataUpdate();
24-
MaybeUpdateData();
25-
}
2619

2720
public override void OnRepositoryChanged(IRepository oldRepository)
2821
{
@@ -90,11 +83,6 @@ public override void OnGUI()
9083
GUILayout.EndVertical();
9184
}
9285

93-
private void MaybeUpdateData()
94-
{
95-
isPublished = Repository != null && Repository.CurrentRemote.HasValue;
96-
}
97-
9886
public override bool IsBusy
9987
{
10088
get { return isBusy; }

0 commit comments

Comments
 (0)