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

Commit 0c83f0a

Browse files
authored
Merge pull request #45 from github-for-unity/fixes/login
Fix the auth view
2 parents fc0cbdd + 72fb426 commit 0c83f0a

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/GitHub.Api/GitHub.Api.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,9 @@
239239
<Compile Include="$(SolutionDir)\script\src\MetricsService.cs">
240240
<Link>Metrics\MetricsService.cs</Link>
241241
</Compile>
242+
<Compile Include="$(SolutionDir)\script\src\ApplicationInfo_Local.cs">
243+
<Link>Properties\ApplicationInfo_Local.cs</Link>
244+
</Compile>
242245
</ItemGroup>
243246
<ItemGroup>
244247
<ProjectReference Include="..\..\submodules\dotnet-httpClient35\System.Net.Http\System.Net.Http-net_3_5.csproj">

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ public static IView Open(Action<bool> onClose = null)
2929

3030
public override void OnGUI()
3131
{
32+
if (authView == null)
33+
{
34+
CreateViews();
35+
}
3236
authView.OnGUI();
3337
}
3438

0 commit comments

Comments
 (0)