mirror of
https://github.com/laosb/CropImage.git
synced 2025-05-01 08:01:09 +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: {
|
||||||
Label("Rotate", systemImage: "rotate.right")
|
Label("Rotate", systemImage: "rotate.right")
|
||||||
.font(.title2)
|
.font(.title2)
|
||||||
|
#if !os(visionOS)
|
||||||
.foregroundColor(.accentColor)
|
.foregroundColor(.accentColor)
|
||||||
|
#endif
|
||||||
.labelStyle(.iconOnly)
|
.labelStyle(.iconOnly)
|
||||||
.padding(.horizontal, 6)
|
.padding(.horizontal, 6)
|
||||||
.padding(.vertical, 3)
|
.padding(.vertical, 3)
|
||||||
|
@ -58,7 +60,9 @@ public struct DefaultControlsView: View {
|
||||||
} } label: {
|
} } label: {
|
||||||
Label("Crop", systemImage: "checkmark.circle.fill")
|
Label("Crop", systemImage: "checkmark.circle.fill")
|
||||||
.font(.title2)
|
.font(.title2)
|
||||||
|
#if !os(visionOS)
|
||||||
.foregroundColor(.accentColor)
|
.foregroundColor(.accentColor)
|
||||||
|
#endif
|
||||||
.labelStyle(.iconOnly)
|
.labelStyle(.iconOnly)
|
||||||
.padding(1)
|
.padding(1)
|
||||||
#if !os(visionOS)
|
#if !os(visionOS)
|
||||||
|
|
Loading…
Add table
Reference in a new issue