Skip to content

Commit

Permalink
Add condition for visionOS
Browse files Browse the repository at this point in the history
  • Loading branch information
rudrankriyam committed Mar 21, 2024
1 parent 40e7a3b commit 52d2dcc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Musadora/Musadora/Main/MTabView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ struct MTabView: View {
}
}
.welcomeSheet()
#if os(visionOS)
.toolbar {
ToolbarItemGroup(placement: .bottomOrnament) {
PlayerControlView()
}
}
#endif
.tint(.purple)
}
}
Expand Down

0 comments on commit 52d2dcc

Please sign in to comment.