mirror of
https://github.com/exituser/Pearcleaner.git
synced 2026-09-17 06:09:01 +00:00
Updates
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
"location" : "https://github.com/alienator88/AlinFoundation",
|
"location" : "https://github.com/alienator88/AlinFoundation",
|
||||||
"state" : {
|
"state" : {
|
||||||
"branch" : "main",
|
"branch" : "main",
|
||||||
"revision" : "9e22796895c78f8ecce0b4d8c58917ec36f7c1b0"
|
"revision" : "a4df813f0186209491a2568d03aab8da8eab7ae0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -308,6 +308,9 @@
|
|||||||
},
|
},
|
||||||
"Pearcleaner Uninstall" : {
|
"Pearcleaner Uninstall" : {
|
||||||
"comment" : "Right click context menu item when using the Finder extension to uninstall using Pearcleaner"
|
"comment" : "Right click context menu item when using the Finder extension to uninstall using Pearcleaner"
|
||||||
|
},
|
||||||
|
"Permissions" : {
|
||||||
|
|
||||||
},
|
},
|
||||||
"Pin popover window on top" : {
|
"Pin popover window on top" : {
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ struct SettingsView: View {
|
|||||||
@AppStorage("settings.general.glass") private var glass: Bool = false
|
@AppStorage("settings.general.glass") private var glass: Bool = false
|
||||||
@AppStorage("settings.general.selectedTab") private var selectedTab: CurrentTabView = .general
|
@AppStorage("settings.general.selectedTab") private var selectedTab: CurrentTabView = .general
|
||||||
@State private var isResetting = false
|
@State private var isResetting = false
|
||||||
|
@State private var showPerms = false
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
|
|
||||||
@@ -65,8 +66,24 @@ struct SettingsView: View {
|
|||||||
|
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
Text("v\(Bundle.main.version)").foregroundStyle(.secondary)
|
HStack {
|
||||||
.padding(.bottom, 4)
|
Text(verbatim: "v\(Bundle.main.version)").font(.footnote).foregroundStyle(.secondary)
|
||||||
|
Text(verbatim: "|").font(.footnote).foregroundStyle(.secondary)
|
||||||
|
|
||||||
|
Button() {
|
||||||
|
showPerms.toggle()
|
||||||
|
} label: {
|
||||||
|
Text(String(localized: "Permissions").uppercased())
|
||||||
|
.font(.footnote)
|
||||||
|
.foregroundStyle(.secondary)
|
||||||
|
}
|
||||||
|
.buttonStyle(.plain)
|
||||||
|
.sheet(isPresented: $showPerms, content: {
|
||||||
|
PermissionsListView()
|
||||||
|
})
|
||||||
|
}
|
||||||
|
.padding(.bottom, 4)
|
||||||
|
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
resetUserDefaults()
|
resetUserDefaults()
|
||||||
|
|||||||
Reference in New Issue
Block a user