메뉴판 설정

- 배경 터치시 키보드가 숨겨지도록 수정
This commit is contained in:
Yu Sung 2025-04-08 16:12:52 +09:00
parent 33ea2413f5
commit 80a85ebe76
1 changed files with 5 additions and 1 deletions

View File

@ -56,7 +56,7 @@ struct MenuSettingsView: View {
textColorHex: "eeeeee",
backgroundColorHex: "303030"
)
.frame(height: 350)
.frame(height: 300)
.cornerRadius(6.7)
.padding(.horizontal, 13.3)
@ -73,11 +73,15 @@ struct MenuSettingsView: View {
Spacer()
}
.edgesIgnoringSafeArea(.bottom)
.onAppear {
viewModel.getAllMenuPreset {
self.isShowing = false
}
}
.onTapGesture {
hideKeyboard()
}
.popup(isPresented: $viewModel.isShowPopup, type: .toast, position: .bottom, autohideIn: 2) {
HStack {
Spacer()