mirror of
https://github.com/laosb/CropImage.git
synced 2025-04-30 23:51:08 +00:00
Don't use accent colour on visionOS
This commit is contained in:
parent
cd9ece7c50
commit
26bcd0211d
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue