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

Commit ed21280

Browse files
Removing confirmation for git fetch operation
1 parent 77edc4e commit ed21280

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -331,12 +331,7 @@ public void OnEmbeddedGUI()
331331
GUI.enabled = currentRemote != null;
332332
var fetchClicked = GUILayout.Button(FetchButtonText, Styles.HistoryToolbarButtonStyle);
333333
GUI.enabled = true;
334-
if (fetchClicked &&
335-
EditorUtility.DisplayDialog(FetchConfirmTitle,
336-
String.Format(FetchConfirmDescription, currentRemote),
337-
FetchConfirmYes,
338-
FetchConfirmCancel)
339-
)
334+
if (fetchClicked)
340335
{
341336
Fetch();
342337
}

0 commit comments

Comments
 (0)