From 033b3f3fd3b4695f103ae72687d4535d04a19c77 Mon Sep 17 00:00:00 2001 From: rzen Date: Sun, 21 Jun 2026 06:27:12 -0400 Subject: [PATCH] Tilt the complication dumbbell to match the app icon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rotate the dumbbell glyph -35° (counter-clockwise) in the circular, corner, and rectangular accessory families so it runs lower-left to upper-right like the app icon. Inline stays upright since that template renders the symbol on the time line. --- .../WorkoutsWatchWidget.swift | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/Workouts Watch Widget/WorkoutsWatchWidget.swift b/Workouts Watch Widget/WorkoutsWatchWidget.swift index 001e987..af8a66a 100644 --- a/Workouts Watch Widget/WorkoutsWatchWidget.swift +++ b/Workouts Watch Widget/WorkoutsWatchWidget.swift @@ -30,22 +30,32 @@ private struct LauncherView: View { private let glyph = "dumbbell.fill" + // The app icon's dumbbell runs lower-left to upper-right; tilt the glyph + // counter-clockwise to match (SwiftUI rotates clockwise for positive angles). + private var dumbbell: some View { + Image(systemName: glyph) + .rotationEffect(.degrees(-35)) + } + var body: some View { switch family { case .accessoryInline: + // Inline templates render the symbol upright next to text; leave as-is. Label("Workouts", systemImage: glyph) case .accessoryRectangular: - Label("Workouts", systemImage: glyph) - .font(.headline) - .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .leading) + HStack(spacing: 6) { + dumbbell.font(.title3) + Text("Workouts").font(.headline) + } + .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .leading) case .accessoryCorner: - Image(systemName: glyph) + dumbbell .font(.title2) .widgetLabel("Workouts") default: // .accessoryCircular and any future families ZStack { AccessoryWidgetBackground() - Image(systemName: glyph) + dumbbell .font(.title3) } }