From 341fa6492a519fa408b235293d16aab13eb6fdeb Mon Sep 17 00:00:00 2001 From: Janez T Date: Tue, 16 Jan 2024 15:49:40 +0100 Subject: [PATCH] Fix uuid and typo --- Pareto/AppHandlers.swift | 1 - Pareto/Checks/Access Security/NoAdminUser.swift | 2 +- Pareto/Checks/Access Security/NoUnusedUsers.swift | 6 +++--- Pareto/Info.plist | 2 +- Pareto/Views/Settings/ChecksSettingsView.swift | 10 +++++----- 5 files changed, 10 insertions(+), 11 deletions(-) diff --git a/Pareto/AppHandlers.swift b/Pareto/AppHandlers.swift index 3ddd1e5..34d49e5 100644 --- a/Pareto/AppHandlers.swift +++ b/Pareto/AppHandlers.swift @@ -339,7 +339,6 @@ class AppHandlers: NSObject, NetworkHandlerObserver { let window = NSWindow(contentViewController: hostingController) window.title = "Preferences" window.center() - window.titlebarAppearsTransparent = true window.setContentSize(NSSize(width: 640, height: 280)) let controller = NSWindowController(window: window) diff --git a/Pareto/Checks/Access Security/NoAdminUser.swift b/Pareto/Checks/Access Security/NoAdminUser.swift index 407089e..ecc00ee 100644 --- a/Pareto/Checks/Access Security/NoAdminUser.swift +++ b/Pareto/Checks/Access Security/NoAdminUser.swift @@ -8,7 +8,7 @@ class NoAdminUser: ParetoCheck { static let sharedInstance = NoAdminUser() override var UUID: String { - "0659aa04-b81f-7cb9-8000-f8e76dc9185a" + "b092ab27-c513-43cc-8b52-e89c4cb30114" } override var TitleON: String { diff --git a/Pareto/Checks/Access Security/NoUnusedUsers.swift b/Pareto/Checks/Access Security/NoUnusedUsers.swift index b6390ac..ad70226 100644 --- a/Pareto/Checks/Access Security/NoUnusedUsers.swift +++ b/Pareto/Checks/Access Security/NoUnusedUsers.swift @@ -10,15 +10,15 @@ import Foundation class NoUnusedUsers: ParetoCheck { static let sharedInstance = NoUnusedUsers() override var UUID: String { - "018cca4b-bedc-7794-a45d-118b60424017" + "c6559a48-c7ad-450b-a9eb-765f031ef49e" } override var TitleON: String { - "No unrequired user accounts are present" + "No unused user accounts are present" } override var TitleOFF: String { - "Unrequired user accounts are present(" + accounts.joined(separator: ",") + ")" + "Unused user accounts are present" } var accounts: [String] { diff --git a/Pareto/Info.plist b/Pareto/Info.plist index 0b1fcef..4a6edb7 100644 --- a/Pareto/Info.plist +++ b/Pareto/Info.plist @@ -26,7 +26,7 @@ CFBundleVersion - 5403 + 5416 LSApplicationCategoryType public.app-category.utilities LSMinimumSystemVersion diff --git a/Pareto/Views/Settings/ChecksSettingsView.swift b/Pareto/Views/Settings/ChecksSettingsView.swift index 13a9f54..313421b 100644 --- a/Pareto/Views/Settings/ChecksSettingsView.swift +++ b/Pareto/Views/Settings/ChecksSettingsView.swift @@ -13,8 +13,8 @@ struct ChecksSettingsView: View { @Default(.teamID) var teamID var body: some View { - ScrollView { - VStack(alignment: .leading) { + ScrollView(.vertical) { + Group { Text("Deselect the checks you don't want the app to run.") if !teamID.isEmpty { Text("Checks with asterisk (✴) are required by your team.") @@ -83,10 +83,10 @@ struct ChecksSettingsView: View { Link("Learn more", destination: URL(string: "https://paretosecurity.com/security-checks?utm_source=\(AppInfo.utmSource)")!) Text(" about checks on our website.") - }.padding(0) - }.padding(.all, 20).frame(minWidth: 480, minHeight: 480) + } + }.frame(maxWidth: .infinity).padding(25) - }.frame(width: 420, height: 400) + }.frame(width: 480, height: 400) } }