Integrated the MenuBarView view into the MenuBarExtra component for the PiperApp app in the app target.

This commit is contained in:
Javier Cicchelli 2024-10-06 13:44:56 +02:00
parent 3ed1cc92f7
commit 77bb0e7bbb

View File

@ -29,20 +29,8 @@ struct PiperApp: App {
var body: some Scene { var body: some Scene {
MenuBarExtra { MenuBarExtra {
VStack(alignment: .leading) { MenuBarView()
Text("Some text goes here...") .modelContainer(container)
.foregroundStyle(.primary)
Divider()
Button {
// ...
} label: {
Text("Some text goes here...")
.frame(maxWidth: .infinity)
}
}
.padding()
} label: { } label: {
Image(systemName: "circle.fill") Image(systemName: "circle.fill")
} }