라이브 방 - 유저 차단 팝업

- 리스너가 차단할 때 팝업 문구 수정
This commit is contained in:
Yu Sung 2024-09-05 20:02:50 +09:00
parent 66ce37defa
commit bc8d3e6d70
1 changed files with 7 additions and 5 deletions

View File

@ -22,6 +22,8 @@ struct UserBlockConfirmDialogView: View {
- Talk
"""
let notice2 = "- 사용자를 차단하면 '차단한 사용자의 라이브 중 채팅'이 보이지 않습니다."
var body: some View {
ZStack {
Color.black
@ -39,7 +41,7 @@ struct UserBlockConfirmDialogView: View {
.foregroundColor(.white)
HStack(spacing: 0) {
Text(notice)
Text(UserDefaults.string(forKey: .role) == MemberRole.CREATOR.rawValue ? notice : notice2)
.font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(.white)
@ -51,14 +53,14 @@ struct UserBlockConfirmDialogView: View {
Text("취소")
.font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color(hex: "3bb9f1"))
.foregroundColor(Color.button)
.onTapGesture {
isShowing = false
}
Text("차단")
.font(.custom(Font.medium.rawValue, size: 13.3))
.foregroundColor(Color(hex: "3bb9f1"))
.foregroundColor(Color.button)
.onTapGesture {
isShowing = false
confirmAction()
@ -68,7 +70,7 @@ struct UserBlockConfirmDialogView: View {
}
.padding(24)
.frame(width: screenSize().width - 33.3)
.background(Color(hex: "222222"))
.background(Color.gray22)
.cornerRadius(13.3)
}
}