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

View File

@ -20,21 +20,22 @@ 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)
})
}
.padding(.all)
.glassBackgroundEffect()
}
}