Skip to content

Commit

Permalink
For #8
Browse files Browse the repository at this point in the history
  • Loading branch information
macmule committed Oct 12, 2020
1 parent 6d7b141 commit 27a8fbf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Jamf Switcher/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>100</string>
<string>107</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
Expand Down
6 changes: 3 additions & 3 deletions Jamf Switcher/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,9 @@ class ViewController: NSViewController {
alert.addButton(withTitle: "Cancel") // 2nd button
alert.messageText = title
alert.informativeText = question
let unameField = NSTextField(frame: NSRect(x: 0, y: 54, width: 200, height: 22))
let passField = NSSecureTextField(frame: NSRect(x: 0, y: 28, width: 200, height: 22))
let searchField = NSTextField(frame: NSRect(x: 0, y: 2, width: 200, height: 22))
let unameField = NSTextField(frame: NSRect(x: 0, y: 54, width: 250, height: 22))
let passField = NSSecureTextField(frame: NSRect(x: 0, y: 28, width: 250, height: 22))
let searchField = NSTextField(frame: NSRect(x: 0, y: 2, width: 250, height: 22))
if let str = KeychainService.loadPassword(service: keyChainService, account: "passcode") {
passField.stringValue = str
}
Expand Down

0 comments on commit 27a8fbf

Please sign in to comment.