parent
66ce37defa
commit
bc8d3e6d70
|
@ -22,13 +22,15 @@ struct UserBlockConfirmDialogView: View {
|
||||||
- 내 채널의 팬Talk 작성불가
|
- 내 채널의 팬Talk 작성불가
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
let notice2 = "- 사용자를 차단하면 '차단한 사용자의 라이브 중 채팅'이 보이지 않습니다."
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
ZStack {
|
ZStack {
|
||||||
Color.black
|
Color.black
|
||||||
.opacity(0.7)
|
.opacity(0.7)
|
||||||
.ignoresSafeArea()
|
.ignoresSafeArea()
|
||||||
.onTapGesture { isShowing = false }
|
.onTapGesture { isShowing = false }
|
||||||
|
|
||||||
VStack(spacing: 13.3) {
|
VStack(spacing: 13.3) {
|
||||||
Text("사용자 차단")
|
Text("사용자 차단")
|
||||||
.font(.custom(Font.medium.rawValue, size: 16.7))
|
.font(.custom(Font.medium.rawValue, size: 16.7))
|
||||||
|
@ -39,7 +41,7 @@ struct UserBlockConfirmDialogView: View {
|
||||||
.foregroundColor(.white)
|
.foregroundColor(.white)
|
||||||
|
|
||||||
HStack(spacing: 0) {
|
HStack(spacing: 0) {
|
||||||
Text(notice)
|
Text(UserDefaults.string(forKey: .role) == MemberRole.CREATOR.rawValue ? notice : notice2)
|
||||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||||
.foregroundColor(.white)
|
.foregroundColor(.white)
|
||||||
|
|
||||||
|
@ -51,14 +53,14 @@ struct UserBlockConfirmDialogView: View {
|
||||||
|
|
||||||
Text("취소")
|
Text("취소")
|
||||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||||
.foregroundColor(Color(hex: "3bb9f1"))
|
.foregroundColor(Color.button)
|
||||||
.onTapGesture {
|
.onTapGesture {
|
||||||
isShowing = false
|
isShowing = false
|
||||||
}
|
}
|
||||||
|
|
||||||
Text("차단")
|
Text("차단")
|
||||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||||
.foregroundColor(Color(hex: "3bb9f1"))
|
.foregroundColor(Color.button)
|
||||||
.onTapGesture {
|
.onTapGesture {
|
||||||
isShowing = false
|
isShowing = false
|
||||||
confirmAction()
|
confirmAction()
|
||||||
|
@ -68,7 +70,7 @@ struct UserBlockConfirmDialogView: View {
|
||||||
}
|
}
|
||||||
.padding(24)
|
.padding(24)
|
||||||
.frame(width: screenSize().width - 33.3)
|
.frame(width: screenSize().width - 33.3)
|
||||||
.background(Color(hex: "222222"))
|
.background(Color.gray22)
|
||||||
.cornerRadius(13.3)
|
.cornerRadius(13.3)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue