From 27a8fbf520d319803a7e6a06226b8414b5964be7 Mon Sep 17 00:00:00 2001 From: macmule Date: Mon, 12 Oct 2020 17:14:59 +0100 Subject: [PATCH] For #8 --- Jamf Switcher/Info.plist | 2 +- Jamf Switcher/ViewController.swift | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Jamf Switcher/Info.plist b/Jamf Switcher/Info.plist index 08d17ed..32e6ed0 100755 --- a/Jamf Switcher/Info.plist +++ b/Jamf Switcher/Info.plist @@ -19,7 +19,7 @@ CFBundleShortVersionString $(MARKETING_VERSION) CFBundleVersion - 100 + 107 LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion diff --git a/Jamf Switcher/ViewController.swift b/Jamf Switcher/ViewController.swift index fab61bd..fc8d234 100755 --- a/Jamf Switcher/ViewController.swift +++ b/Jamf Switcher/ViewController.swift @@ -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 }