This repository was archived by the owner on Dec 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-21
lines changed
src/UnityExtension/Assets/Editor/GitHub.Unity/UI Expand file tree Collapse file tree 1 file changed +2
-21
lines changed Original file line number Diff line number Diff line change @@ -146,27 +146,8 @@ public override void OnGUI()
146146 repoName = EditorGUILayout . TextField ( RepositoryNameLabel , repoName ) ;
147147 repoDescription = EditorGUILayout . TextField ( DescriptionLabel , repoDescription ) ;
148148
149- GUILayout . Space ( Styles . PublishViewSpacingHeight ) ;
150-
151- GUILayout . BeginVertical ( ) ;
152- {
153- GUILayout . BeginHorizontal ( ) ;
154- {
155- togglePrivate = GUILayout . Toggle ( togglePrivate , CreatePrivateRepositoryLabel ) ;
156- }
157- GUILayout . EndHorizontal ( ) ;
158-
159- GUILayout . BeginHorizontal ( ) ;
160- {
161- GUILayout . Space ( Styles . PublishViewSpacingHeight ) ;
162- var repoPrivacyExplanation = togglePrivate ? PrivateRepoMessage : PublicRepoMessage ;
163- GUILayout . Label ( repoPrivacyExplanation , Styles . LongMessageStyle ) ;
164- }
165- GUILayout . EndHorizontal ( ) ;
166- }
167- GUILayout . EndVertical ( ) ;
168-
169- GUILayout . Space ( Styles . PublishViewSpacingHeight ) ;
149+ togglePrivate = EditorGUILayout . Toggle ( CreatePrivateRepositoryLabel , togglePrivate ) ;
150+ var repoPrivacyExplanation = togglePrivate ? PrivateRepoMessage : PublicRepoMessage ;
170151
171152 GUILayout . BeginHorizontal ( ) ;
172153 {
You can’t perform that action at this time.
0 commit comments