Skip to content

Commit

Permalink
add launchAtLogin
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentHardouin committed Apr 9, 2022
1 parent a37b180 commit 4e9cda2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PRShortcut/Preferences/GeneralPreference.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Defaults
import LaunchAtLogin
import SwiftUI

struct GeneralPreference: View {
Expand All @@ -21,6 +22,8 @@ struct GeneralPreference: View {
TextField("GitHub Token", text: $token)
Text("Only if you want to see PRs in private reporitories (repo scope token only).")
}

LaunchAtLogin.Toggle()
}
}.frame(width: 500, height: 300)
}
Expand Down

0 comments on commit 4e9cda2

Please sign in to comment.