Integrated the MenuBarView view into the MenuBarExtra component for the PiperApp app in the app target.
This commit is contained in:
parent
3ed1cc92f7
commit
77bb0e7bbb
@ -29,20 +29,8 @@ struct PiperApp: App {
|
||||
|
||||
var body: some Scene {
|
||||
MenuBarExtra {
|
||||
VStack(alignment: .leading) {
|
||||
Text("Some text goes here...")
|
||||
.foregroundStyle(.primary)
|
||||
|
||||
Divider()
|
||||
|
||||
Button {
|
||||
// ...
|
||||
} label: {
|
||||
Text("Some text goes here...")
|
||||
.frame(maxWidth: .infinity)
|
||||
}
|
||||
}
|
||||
.padding()
|
||||
MenuBarView()
|
||||
.modelContainer(container)
|
||||
} label: {
|
||||
Image(systemName: "circle.fill")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user