Remove ignoreDeviceSleep && Improve delete button on macOS

This commit is contained in:
世界
2024-02-16 13:41:32 +08:00
parent 1f6e99f576
commit bbee434895
11 changed files with 72 additions and 36 deletions
@@ -31,7 +31,7 @@ public struct CoreView: View {
Label("Open", systemImage: "macwindow.and.cursorarrow")
}
#endif
FormButton {
FormButton(role: .destructive) {
Task {
await destroyWorkingDirectory()
}