Tint the complication glyph with the watch face color
Mark the dumbbell .widgetAccentable() so the watch face paints it with its main accent color instead of leaving it white.
This commit is contained in:
@@ -32,9 +32,12 @@ private struct LauncherView: View {
|
||||
|
||||
// The app icon's dumbbell runs lower-left to upper-right; tilt the glyph
|
||||
// counter-clockwise to match (SwiftUI rotates clockwise for positive angles).
|
||||
// `.widgetAccentable()` puts it in the accent group so the watch face tints
|
||||
// it with its main color instead of leaving it white.
|
||||
private var dumbbell: some View {
|
||||
Image(systemName: glyph)
|
||||
.rotationEffect(.degrees(-35))
|
||||
.widgetAccentable()
|
||||
}
|
||||
|
||||
var body: some View {
|
||||
|
||||
Reference in New Issue
Block a user