Skip to content

Commit

Permalink
Fix uuid and typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dz0ny committed Jan 17, 2024
1 parent ce1019f commit 341fa64
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
1 change: 0 additions & 1 deletion Pareto/AppHandlers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion Pareto/Checks/Access Security/NoAdminUser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions Pareto/Checks/Access Security/NoUnusedUsers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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] {
Expand Down
2 changes: 1 addition & 1 deletion Pareto/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>5403</string>
<string>5416</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
Expand Down
10 changes: 5 additions & 5 deletions Pareto/Views/Settings/ChecksSettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 341fa64

Please sign in to comment.