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

Commit 2dad144

Browse files
Adding another constant for text
1 parent 80e392b commit 2dad144

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class PublishView : Subview
2222
private const string DescriptionLabel = "Description";
2323
private const string CreatePrivateRepositoryLabel = "Make repository private";
2424
private const string PublishLimitPrivateRepositoriesError = "You are currently at your limit of private repositories";
25+
private const string PublishToGithubLabel = "Publish to GitHub";
2526

2627
[SerializeField] private string username;
2728
[SerializeField] private string[] owners = { OwnersDefaultText };
@@ -140,7 +141,7 @@ private void LoadOrganizations()
140141

141142
public override void OnGUI()
142143
{
143-
GUILayout.Label("Publish to GitHub", EditorStyles.boldLabel);
144+
GUILayout.Label(PublishToGithubLabel, EditorStyles.boldLabel);
144145

145146
EditorGUI.BeginDisabledGroup(isBusy);
146147
{

0 commit comments

Comments
 (0)