mirror of
				https://github.com/laosb/CropImage.git
				synced 2025-10-31 06:11:38 +00:00 
			
		
		
		
	Don't use accent colour on visionOS
This commit is contained in:
		
							parent
							
								
									57ff1a7b86
								
							
						
					
					
						commit
						4e0f333e2f
					
				
					 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
		Add a link
		
	
		Reference in a new issue
	
	 infinitepower18
						infinitepower18