크리에이터 채널

- 메뉴 설정 버튼 추가
This commit is contained in:
Yu Sung
2024-10-07 23:42:10 +09:00
parent 169765b867
commit 8f6bd8fabe
3 changed files with 57 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ struct UserProfileView: View {
@State private var isShowMemberProfilePopup: Bool = false
@State private var isShowFollowNotifyDialog: Bool = false
@State private var isShowRouletteSettings: Bool = false
@State private var isShowMenuSettings: Bool = false
var body: some View {
GeometryReader { proxy in
@@ -148,6 +149,15 @@ struct UserProfileView: View {
.background(Color.button)
.cornerRadius(5.3)
.onTapGesture { isShowRouletteSettings = true }
Text("메뉴 설정")
.font(.custom(Font.bold.rawValue, size: 15))
.foregroundColor(Color.grayee)
.padding(.vertical, 17)
.frame(maxWidth: .infinity)
.background(Color.button)
.cornerRadius(5.3)
.onTapGesture { isShowMenuSettings = true }
}
}
@@ -368,6 +378,10 @@ struct UserProfileView: View {
viewModel.isShowPopup = true
}
}
if isShowMenuSettings {
MenuSettingsView(isShowing: $isShowMenuSettings)
}
}
.sheet(
isPresented: $viewModel.isShowShareView,