add glass background to bar, remove from buttons

This commit is contained in:
Jesús A. Álvarez 2024-02-16 21:29:22 +01:00
parent 043c20b645
commit 0204043e10
1 changed files with 7 additions and 6 deletions

View File

@ -20,22 +20,23 @@ extension ViewController {
VStack {
Spacer(minLength: 80.0)
HStack {
PowerMenu().glassBackgroundEffect()
SettingsMenu().glassBackgroundEffect()
PowerMenu()
SettingsMenu()
Button(action: {
AppDelegate.shared.showInsertDisk(self)
}, label: {
Image(systemName: "opticaldiscdrive")
}).glassBackgroundEffect()
})
Button(action: {
self.showKeyboard(self)
}, label: {
Image(systemName: "keyboard")
}).glassBackgroundEffect()
}.padding(.all)
.glassBackgroundEffect()
})
}
.padding(.all)
.glassBackgroundEffect()
}
}
]