Add overlay model visibility methods

This commit is contained in:
Arkadiusz Fal
2022-11-17 22:47:45 +01:00
parent daaf2417b7
commit 09de2cbbab
5 changed files with 16 additions and 5 deletions

View File

@@ -66,7 +66,7 @@ struct ControlsBar: View {
}
} else if detailsToggleFullScreen {
Button {
controlsOverlayModel.presenting = false
controlsOverlayModel.hide()
controls.presentingControls = false
withAnimation {
fullScreen.toggle()