From 26bcd0211d271de16ddec82114e06a3a5aa873f7 Mon Sep 17 00:00:00 2001
From: infinitepower18 <44692189+infinitepower18@users.noreply.github.com>
Date: Tue, 19 Mar 2024 17:27:13 +0000
Subject: [PATCH] Don't use accent colour on visionOS

---
 Sources/CropImage/DefaultControlsView.swift | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Sources/CropImage/DefaultControlsView.swift b/Sources/CropImage/DefaultControlsView.swift
index 67c0b8a..a49da93 100644
--- a/Sources/CropImage/DefaultControlsView.swift
+++ b/Sources/CropImage/DefaultControlsView.swift
@@ -25,7 +25,9 @@ public struct DefaultControlsView: View {
         } label: {
             Label("Rotate", systemImage: "rotate.right")
                 .font(.title2)
+                #if !os(visionOS)
                 .foregroundColor(.accentColor)
+                #endif
                 .labelStyle(.iconOnly)
                 .padding(.horizontal, 6)
                 .padding(.vertical, 3)
@@ -58,7 +60,9 @@ public struct DefaultControlsView: View {
         } } label: {
             Label("Crop", systemImage: "checkmark.circle.fill")
                 .font(.title2)
+                #if !os(visionOS)
                 .foregroundColor(.accentColor)
+                #endif
                 .labelStyle(.iconOnly)
                 .padding(1)
                 #if !os(visionOS)