ui updates

small fix
This commit is contained in:
neon443 committed 2025-11-22 20:21:30 +00:00
1 parent b15684d09a
commit e8ff53d87b
2 files changed
+15 -16

No files matched your search

+6 -5
View File
@@ -91,14 +91,16 @@ struct SettingsView: View {
}
Section("Use with Caution") {
Button("download all", role: .destructive) {
Button("Download all", systemImage: "square.and.arrow.down.on.square", role: .destructive) {
Task {
await hoarder.downloadAllStickers()
}
}
Button("delete all", role: .destructive) {
.foregroundStyle(.red)
Button("Delete all", systemImage: "trash.circle", role: .destructive) {
hoarder.deleteAllStickers()
}
.foregroundStyle(.red)
}
Section("Debug") {
@@ -108,12 +110,11 @@ struct SettingsView: View {
Label("Tree", systemImage: "tree")
}
Button(role: .destructive) {
Button("Reindex", systemImage: "list.bullet.clipboard", role: .destructive) {
hoarder.resetAllIndexes()
hoarder.buildTrie()
} label: {
Label("Reindex", systemImage: "list.bullet.clipboard.fill")
}
.foregroundStyle(.red)
}
// Section(content: <#T##() -> View#>, header: <#T##() -> View#>, footer: <#T##() -> View#>)
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.