메뉴판 설정
- 배경 터치시 키보드가 숨겨지도록 수정
This commit is contained in:
@@ -56,7 +56,7 @@ struct MenuSettingsView: View {
|
|||||||
textColorHex: "eeeeee",
|
textColorHex: "eeeeee",
|
||||||
backgroundColorHex: "303030"
|
backgroundColorHex: "303030"
|
||||||
)
|
)
|
||||||
.frame(height: 350)
|
.frame(height: 300)
|
||||||
.cornerRadius(6.7)
|
.cornerRadius(6.7)
|
||||||
.padding(.horizontal, 13.3)
|
.padding(.horizontal, 13.3)
|
||||||
|
|
||||||
@@ -73,11 +73,15 @@ struct MenuSettingsView: View {
|
|||||||
|
|
||||||
Spacer()
|
Spacer()
|
||||||
}
|
}
|
||||||
|
.edgesIgnoringSafeArea(.bottom)
|
||||||
.onAppear {
|
.onAppear {
|
||||||
viewModel.getAllMenuPreset {
|
viewModel.getAllMenuPreset {
|
||||||
self.isShowing = false
|
self.isShowing = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.onTapGesture {
|
||||||
|
hideKeyboard()
|
||||||
|
}
|
||||||
.popup(isPresented: $viewModel.isShowPopup, type: .toast, position: .bottom, autohideIn: 2) {
|
.popup(isPresented: $viewModel.isShowPopup, type: .toast, position: .bottom, autohideIn: 2) {
|
||||||
HStack {
|
HStack {
|
||||||
Spacer()
|
Spacer()
|
||||||
|
Reference in New Issue
Block a user