This repository was archived by the owner on Dec 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
src/UnityExtension/Assets/Editor/GitHub.Unity/UI Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -395,8 +395,8 @@ public void OnEmbeddedGUI()
395
395
var publishedClicked = GUILayout . Button ( PublishButton , Styles . HistoryToolbarButtonStyle ) ;
396
396
if ( publishedClicked )
397
397
{
398
- var popupWindow = ( PopupWindow ) PopupWindow . Open ( PopupWindow . PopupView . PublishView ) ;
399
- popupWindow . Initialize ( EntryPoint . ApplicationManager ) ;
398
+ var popupWindow = PopupWindow . Open ( PopupWindow . PopupView . PublishView ) ;
399
+ popupWindow . InitializeWindow ( EntryPoint . ApplicationManager ) ;
400
400
}
401
401
GUI . enabled = true ;
402
402
}
Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ public enum PopupView
22
22
[ MenuItem ( "GitHub/Authenticate" ) ]
23
23
public static void Launch ( )
24
24
{
25
- var popupWindow = ( PopupWindow ) Open ( PopupView . AuthenticationView ) ;
26
- popupWindow . Initialize ( EntryPoint . ApplicationManager ) ;
25
+ var popupWindow = Open ( PopupView . AuthenticationView ) ;
26
+ popupWindow . InitializeWindow ( EntryPoint . ApplicationManager ) ;
27
27
}
28
28
29
- public static IView Open ( PopupView popupView , Action < bool > onClose = null )
29
+ public static PopupWindow Open ( PopupView popupView , Action < bool > onClose = null )
30
30
{
31
31
var popupWindow = GetWindow < PopupWindow > ( true ) ;
32
32
if ( onClose != null )
Original file line number Diff line number Diff line change @@ -326,8 +326,8 @@ private void DoAccountDropdown()
326
326
327
327
private void SignIn ( object obj )
328
328
{
329
- var popupWindow = ( PopupWindow ) PopupWindow . Open ( PopupWindow . PopupView . AuthenticationView ) ;
330
- popupWindow . Initialize ( EntryPoint . ApplicationManager ) ;
329
+ var popupWindow = PopupWindow . Open ( PopupWindow . PopupView . AuthenticationView ) ;
330
+ popupWindow . InitializeWindow ( EntryPoint . ApplicationManager ) ;
331
331
}
332
332
333
333
private void GoToProfile ( object obj )
You can’t perform that action at this time.
0 commit comments