mirror of
https://github.com/exituser/Pearcleaner.git
synced 2026-09-17 07:19:04 +00:00
v3.7.7
This commit is contained in:
@@ -157,6 +157,7 @@ enum CurrentTabView:Int
|
||||
case interface
|
||||
case folders
|
||||
case update
|
||||
case tips
|
||||
case about
|
||||
|
||||
var title: String {
|
||||
@@ -165,6 +166,7 @@ enum CurrentTabView:Int
|
||||
case .interface: return "Interface"
|
||||
case .folders: return "Folders"
|
||||
case .update: return "Update"
|
||||
case .tips: return "Tips"
|
||||
case .about: return "About"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -145,6 +145,31 @@ struct AboutSettingsTab: View {
|
||||
.padding(5)
|
||||
.padding(.leading)
|
||||
|
||||
|
||||
HStack{
|
||||
Image(systemName: "dollarsign.circle.fill")
|
||||
.resizable()
|
||||
.scaledToFit()
|
||||
.frame(width: 20, height: 20)
|
||||
.padding(.trailing)
|
||||
|
||||
VStack(alignment: .leading){
|
||||
Text("Apple Developer Account Sponsor")
|
||||
Text("Many thanks to redditor u/dharsanb")
|
||||
.font(.callout)
|
||||
.foregroundStyle(Color("mode").opacity(0.5))
|
||||
|
||||
}
|
||||
Spacer()
|
||||
Button(""){
|
||||
NSWorkspace.shared.open(URL(string: "https://www.reddit.com/user/dharsanb/")!)
|
||||
}
|
||||
.buttonStyle(SimpleButtonStyle(icon: "link", help: "View"))
|
||||
|
||||
}
|
||||
.padding(5)
|
||||
.padding(.leading)
|
||||
|
||||
Spacer()
|
||||
|
||||
}
|
||||
|
||||
@@ -43,6 +43,12 @@ struct SettingsView: View {
|
||||
}
|
||||
.tag(CurrentTabView.update)
|
||||
|
||||
TipsSettingsTab()
|
||||
.tabItem {
|
||||
Label(CurrentTabView.tips.title, systemImage: "star")
|
||||
}
|
||||
.tag(CurrentTabView.tips)
|
||||
|
||||
AboutSettingsTab()
|
||||
.tabItem {
|
||||
Label(CurrentTabView.about.title, systemImage: "info.circle")
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
//
|
||||
// Tips.swift
|
||||
// Pearcleaner
|
||||
//
|
||||
// Created by Alin Lupascu on 7/2/24.
|
||||
//
|
||||
|
||||
|
||||
import SwiftUI
|
||||
import Foundation
|
||||
|
||||
struct TipsSettingsTab: View {
|
||||
@EnvironmentObject var appState: AppState
|
||||
@EnvironmentObject var themeSettings: ThemeSettings
|
||||
|
||||
var body: some View {
|
||||
VStack {
|
||||
|
||||
ScrollView {
|
||||
VStack(alignment: .leading, spacing: 15) {
|
||||
Text("1. Clicking an app will perform a search for files and folders, which will be displayed in the Files view")
|
||||
Text("2. The Files view will show app details and the found files along with a toolbar above the file list which shows related badges for the app, allows checking/unchecking all files and sorting alphabetically or by size")
|
||||
Text("3. Clicking the Trash button on the Files view will remove the selected files and folders only")
|
||||
Text("4. After deletion, you can hit CMD + Z to undo while Pearcleaner or Finder is focused")
|
||||
Text("5. While on the Files view for an app, you can open the Condition Builder with CMD + B or from the Tools menubar item Instructions on using Condition Builder are available on the popup sheet")
|
||||
Text("6. On the Files view again, you can hit CMD + E to export a list of the found files or from the Tools menubar item")
|
||||
Text("7. CMD + U will launch the updater")
|
||||
Text("8. CMD + R will refresh the app list. This can also be done from the refresh button in the search bar")
|
||||
Text("9. In the search bar menu button, you will also find Leftover Files which will find files leftover by previously uninstalled applications")
|
||||
Text("10. You can enable a menubar icon from Settings")
|
||||
Text("11. You can enable UI mini mode from Settings")
|
||||
Text("12. You can enable a Finder extension from Settings which allows you to uninstall apps by right clicking them in Finder")
|
||||
Text("13. You can enable Homebrew cleanup from Settings")
|
||||
Text("14. You can change the app theme colors from Settings")
|
||||
Text("15. When there's new features available, a new features badge will show at the top of the app list. Same for app updates or missing permissions")
|
||||
}
|
||||
.padding()
|
||||
}
|
||||
.scrollIndicators(.visible)
|
||||
.frame(minHeight: 0, maxHeight: .infinity)
|
||||
.frame(minWidth: 0, maxWidth: .infinity)
|
||||
.background(backgroundView(themeSettings: themeSettings, darker: true))
|
||||
.clipShape(RoundedRectangle(cornerRadius: 8))
|
||||
.padding(.bottom)
|
||||
|
||||
|
||||
}
|
||||
.padding(20)
|
||||
.frame(width: 500, height: 520)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user