feat: add Quit button, extended polling intervals
- Popover footer now has a Quit button (power icon) to terminate the app - Polling interval picker now includes 1h, 2h, 4h, and 1 day options Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
b207918fc6
commit
7590389a04
|
|
@ -83,6 +83,9 @@ struct BugListPopover: View {
|
||||||
SettingsLink {
|
SettingsLink {
|
||||||
Label("Settings", systemImage: "gear")
|
Label("Settings", systemImage: "gear")
|
||||||
}
|
}
|
||||||
|
Button(action: { NSApp.terminate(nil) }) {
|
||||||
|
Label("Quit", systemImage: "power")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.padding(.horizontal)
|
.padding(.horizontal)
|
||||||
.padding(.vertical, 6)
|
.padding(.vertical, 6)
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,11 @@ struct SettingsView: View {
|
||||||
Text("1 minute").tag(60)
|
Text("1 minute").tag(60)
|
||||||
Text("5 minutes").tag(300)
|
Text("5 minutes").tag(300)
|
||||||
Text("10 minutes").tag(600)
|
Text("10 minutes").tag(600)
|
||||||
Text("30 minutes").tag(1800)
|
Text("30 minutes").tag(1_800)
|
||||||
|
Text("1 hour").tag(3_600)
|
||||||
|
Text("2 hours").tag(7_200)
|
||||||
|
Text("4 hours").tag(14_400)
|
||||||
|
Text("1 day").tag(86_400)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue