Skip to content

Commit

Permalink
UIScreen is unavailable on visionOS
Browse files Browse the repository at this point in the history
Co-Authored-By: Aurelius Prochazka <[email protected]>
  • Loading branch information
wtholliday and aure committed Feb 25, 2024
1 parent 2f3e729 commit c757211
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ struct DetailView: View {
Image("audiokit-icon")
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: UIScreen.main.bounds.width * 0.8, height: UIScreen.main.bounds.height * 0.3)
.frame(width: 300, height: 300)
Image("audiokit-logo")
.resizable()
.aspectRatio(contentMode: .fit)
Expand Down

0 comments on commit c757211

Please sign in to comment.