File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,11 +17,18 @@ struct TokenEntryView: View {
1717 Text ( " Sign in to GitHub " )
1818 . font ( . system( size: 15 , weight: . semibold) )
1919
20- Text ( " Create a classic Personal Access Token with the \n **notifications** and **repo** scopes at GitHub → Settings → Tokens " )
21- . font ( . system( size: 12 ) )
22- . foregroundStyle ( . secondary)
23- . multilineTextAlignment ( . center)
24- . lineSpacing ( 2 )
20+ VStack ( spacing: 4 ) {
21+ Text ( " Create a classic Personal Access Token with the \n **notifications** and **repo** scopes. " )
22+ . font ( . system( size: 12 ) )
23+ . foregroundStyle ( . secondary)
24+ . multilineTextAlignment ( . center)
25+ . lineSpacing ( 2 )
26+
27+ Link ( " Create token on GitHub → " ,
28+ destination: URL ( string: " https://github.com/settings/tokens " ) !)
29+ . font ( . system( size: 12 ) )
30+ . foregroundStyle ( Color . accentColor)
31+ }
2532
2633 VStack ( spacing: 8 ) {
2734 SecureField ( " ghp_... " , text: $tokenInput)
You can’t perform that action at this time.
0 commit comments