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

Commit c9146ed

Browse files
Removing that problematic part of the Issues gui
1 parent e5dd593 commit c9146ed

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

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

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -437,33 +437,6 @@ private bool OnIssuesGUI()
437437

438438
return false;
439439
}
440-
else if (!Utility.ActiveRepository)
441-
{
442-
Styles.BeginInitialStateArea(NoActiveRepositoryTitle, NoActiveRepositoryMessage);
443-
{
444-
// Init directory path field
445-
Styles.PathField(ref initDirectory, () => EditorUtility.OpenFolderPanel(GitInitBrowseTitle, initDirectory, ""),
446-
ValidateInitDirectory);
447-
448-
GUILayout.Space(EditorGUIUtility.standardVerticalSpacing);
449-
450-
// Git init, which starts the config flow
451-
if (Styles.InitialStateActionButton(GitInitButton))
452-
{
453-
if (ValidateInitDirectory(initDirectory))
454-
{
455-
Init();
456-
}
457-
else
458-
{
459-
ResetInitDirectory();
460-
}
461-
}
462-
}
463-
Styles.EndInitialStateArea();
464-
465-
return false;
466-
}
467440

468441
if (settingsIssues != null && !Manager.LocalSettings.Get(IgnoreSerialisationIssuesSetting, "0").Equals("1"))
469442
{

0 commit comments

Comments
 (0)