fix(ios): remove command start work button · openclaw/openclaw@81d099f
joshavant
·
2026-06-06
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -49,7 +49,6 @@ struct CommandCenterTab: View {
|
49 | 49 | self.pendingApprovals |
50 | 50 | self.recentSessions |
51 | 51 | self.liveActivity |
52 | | -self.startWorkAction |
53 | 52 | } |
54 | 53 | .padding(.top, 16) |
55 | 54 | .padding(.bottom, 18) |
@@ -331,28 +330,6 @@ struct CommandCenterTab: View {
|
331 | 330 | .padding(.horizontal, OpenClawProMetric.pagePadding) |
332 | 331 | } |
333 | 332 | |
334 | | -private var startWorkAction: some View { |
335 | | -CommandPanel(tint: OpenClawBrand.accent, isProminent: true, padding: 9) { |
336 | | -Button(action: self.openChat) { |
337 | | -Label("Start work", systemImage: "play.fill") |
338 | | -.font(.subheadline.weight(.bold)) |
339 | | -.foregroundStyle(.white) |
340 | | -.frame(maxWidth: .infinity) |
341 | | -.frame(height: 48) |
342 | | -.background { |
343 | | -RoundedRectangle(cornerRadius: 13, style: .continuous) |
344 | | -.fill(LinearGradient( |
345 | | - colors: [OpenClawBrand.accentHot, OpenClawBrand.accent], |
346 | | - startPoint: .topLeading, |
347 | | - endPoint: .bottomTrailing)) |
348 | | -.shadow(color: OpenClawBrand.accentHot.opacity(0.34), radius: 18, y: 8) |
349 | | -} |
350 | | -} |
351 | | -.buttonStyle(.plain) |
352 | | -} |
353 | | -.padding(.horizontal, OpenClawProMetric.pagePadding) |
354 | | -} |
355 | | - |
356 | 333 | private func cardHeader( |
357 | 334 | title: String, |
358 | 335 | value: String?, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。