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

Commit 62a0f82

Browse files
Renaming method for clarity
1 parent c1f8e7f commit 62a0f82

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/GitHub.Api/UI/TreeBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public void Load(IEnumerable<TData> treeDatas)
102102
}
103103
}
104104

105-
public void CheckAll(bool isChecked)
105+
public void SetCheckStateOnAll(bool isChecked)
106106
{
107107
var nodeCheckState = isChecked ? CheckState.Checked : CheckState.Empty;
108108
foreach (var node in Nodes)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,12 +258,12 @@ private void OnCommitDetailsAreaGUI()
258258

259259
private void SelectAll()
260260
{
261-
this.treeChanges.CheckAll(true);
261+
this.treeChanges.SetCheckStateOnAll(true);
262262
}
263263

264264
private void SelectNone()
265265
{
266-
this.treeChanges.CheckAll(false);
266+
this.treeChanges.SetCheckStateOnAll(false);
267267
}
268268

269269
private void Commit()

0 commit comments

Comments
 (0)