Skip to content

Commit

Permalink
Remove condition builder
Browse files Browse the repository at this point in the history
  • Loading branch information
alienator88 committed Nov 20, 2024
1 parent 2216e99 commit 2e01f3f
Show file tree
Hide file tree
Showing 5 changed files with 6,532 additions and 213 deletions.
18 changes: 9 additions & 9 deletions Pearcleaner/Logic/AppCommands.swift
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,15 @@ struct AppCommands: Commands {
}
.keyboardShortcut("r", modifiers: .command)

Button
{
if !appState.appInfo.bundleIdentifier.isEmpty {
appState.showConditionBuilder = true
}
} label: {
Label("Condition Builder", systemImage: "hammer")
}
.keyboardShortcut("b", modifiers: .command)
// Button
// {
// if !appState.appInfo.bundleIdentifier.isEmpty {
// appState.showConditionBuilder = true
// }
// } label: {
// Label("Condition Builder", systemImage: "hammer")
// }
// .keyboardShortcut("b", modifiers: .command)

Button
{
Expand Down
2 changes: 1 addition & 1 deletion Pearcleaner/Logic/AppState.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class AppState: ObservableObject {
@Published var finderExtensionEnabled: Bool = false
@Published var showUninstallAlert: Bool = false
@Published var sentinelMode: Bool = false
@Published var showConditionBuilder: Bool = false
// @Published var showConditionBuilder: Bool = false
@Published var externalPaths: [URL] = [] // for handling multiple app from drops or deeplinks

func getBundleSize(for appInfo: AppInfo, updateState: @escaping (Int64) -> Void) {
Expand Down
Loading

0 comments on commit 2e01f3f

Please sign in to comment.