Skip to content

Commit 49efd16

Browse files
committed
Made the code a bit more prominent in the alert panel.
1 parent 6783a07 commit 49efd16

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CCMenu/Source/Pipeline Window/GitHub Sheets/GitHubAuthenticator.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ class GitHubAuthenticator: ObservableObject {
4444

4545
private func startDeviceFlowOnWebsite(response: GitHubDeviceCodeResponse) -> Bool {
4646
let alert = NSAlert()
47-
alert.messageText = "Sign in at GitHub"
48-
alert.informativeText = "The process will continue on the GitHub website in your default web browser. You will have to enter the code shown below.\n\n\(response.userCode)\n\nWhen you return to CCMenu please wait for a token to appear."
47+
alert.messageText = response.userCode
48+
alert.informativeText = "The process will continue on the GitHub website in your default web browser. You will have to enter the code shown above.\n\nWhen you return to CCMenu please wait for a token to appear."
4949
alert.alertStyle = .informational
50-
alert.addButton(withTitle: "Copy code and continue")
50+
alert.addButton(withTitle: "Copy Code and Continue")
5151
alert.addButton(withTitle: "Cancel")
5252
if alert.runModal() == .alertSecondButtonReturn {
5353
return false

0 commit comments

Comments
 (0)