ui: move Clawdis active toggle to top

This commit is contained in:
Peter Steinberger
2025-12-08 00:16:25 +01:00
parent a1d499ed64
commit dc291fa811

View File

@@ -14,8 +14,6 @@ struct GeneralSettings: View {
var body: some View { var body: some View {
ScrollView(.vertical) { ScrollView(.vertical) {
VStack(alignment: .leading, spacing: 18) { VStack(alignment: .leading, spacing: 18) {
self.connectionSection
if !self.state.onboardingSeen { if !self.state.onboardingSeen {
Text("Complete onboarding to finish setup") Text("Complete onboarding to finish setup")
.font(.callout.weight(.semibold)) .font(.callout.weight(.semibold))
@@ -29,6 +27,8 @@ var body: some View {
subtitle: "Pause to stop Clawdis background helpers and notifications.", subtitle: "Pause to stop Clawdis background helpers and notifications.",
binding: self.activeBinding) binding: self.activeBinding)
self.connectionSection
SettingsToggleRow( SettingsToggleRow(
title: "Launch at login", title: "Launch at login",
subtitle: "Automatically start Clawdis after you sign in.", subtitle: "Automatically start Clawdis after you sign in.",