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

Commit 9d8eb6c

Browse files
Merge pull request #537 from github-for-unity/fixes/init-view-domain-reload
Preventing user from getting stuck on InitProjectView
2 parents 4baadd7 + 97316a5 commit 9d8eb6c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ class InitProjectView : Subview
1010
private const string NoRepoTitle = "To begin using GitHub, initialize a git repository";
1111
private const string NoUserOrEmailError = "Name and email not set in git. Go into the settings tab and enter the missing information";
1212

13-
[NonSerialized] private bool isBusy;
14-
[NonSerialized] private bool isUserDataPresent;
15-
[NonSerialized] private bool hasCompletedInitialCheck;
13+
[SerializeField] private bool hasCompletedInitialCheck;
14+
[SerializeField] private bool isUserDataPresent;
1615

1716
[SerializeField] private CacheUpdateEvent lastCheckUserChangedEvent;
17+
18+
[NonSerialized] private bool isBusy;
1819
[NonSerialized] private bool userHasChanges;
1920

2021
public override void OnEnable()

0 commit comments

Comments
 (0)