라이브 방 추가
This commit is contained in:
@@ -41,7 +41,7 @@ struct LiveReservationAllItemView: View {
|
||||
.font(.custom(Font.medium.rawValue, size: 9.3))
|
||||
.foregroundColor(Color(hex: "ffd300"))
|
||||
|
||||
Text(item.managerNickname)
|
||||
Text(item.creatorNickname)
|
||||
.font(.custom(Font.medium.rawValue, size: 11.3))
|
||||
.foregroundColor(Color(hex: "bbbbbb"))
|
||||
.padding(.top, 10)
|
||||
|
@@ -41,7 +41,7 @@ struct LiveReservationItemView: View {
|
||||
.font(.custom(Font.medium.rawValue, size: 9.3))
|
||||
.foregroundColor(Color(hex: "ffd300"))
|
||||
|
||||
Text(item.managerNickname)
|
||||
Text(item.creatorNickname)
|
||||
.font(.custom(Font.medium.rawValue, size: 11.3))
|
||||
.foregroundColor(Color(hex: "bbbbbb"))
|
||||
.padding(.top, 10)
|
||||
@@ -114,8 +114,8 @@ struct LiveReservationItemView_Previews: PreviewProvider {
|
||||
price: 0,
|
||||
tags: ["팬미팅", "힐링"],
|
||||
channelName: nil,
|
||||
managerNickname: "user8",
|
||||
managerId: 19,
|
||||
creatorNickname: "user8",
|
||||
creatorId: 19,
|
||||
isReservation: false,
|
||||
isPrivateRoom: true
|
||||
))
|
||||
|
@@ -53,7 +53,7 @@ struct MyLiveReservationItemView: View {
|
||||
.font(.custom(Font.medium.rawValue, size: 9.3))
|
||||
.foregroundColor(Color(hex: "ffd300"))
|
||||
|
||||
Text(item.managerNickname)
|
||||
Text(item.creatorNickname)
|
||||
.font(.custom(Font.medium.rawValue, size: 11.3))
|
||||
.foregroundColor(Color(hex: "bbbbbb"))
|
||||
.padding(.top, 10)
|
||||
@@ -103,8 +103,8 @@ struct MyLiveReservationItemView_Previews: PreviewProvider {
|
||||
price: 0,
|
||||
tags: ["팬미팅", "힐링"],
|
||||
channelName: nil,
|
||||
managerNickname: "user8",
|
||||
managerId: 19,
|
||||
creatorNickname: "user8",
|
||||
creatorId: 19,
|
||||
isReservation: false,
|
||||
isPrivateRoom: true
|
||||
),
|
||||
|
@@ -53,7 +53,7 @@ struct SectionLiveReservationView: View {
|
||||
ForEach(0..<items.count, id: \.self) { index in
|
||||
let item = items[index]
|
||||
|
||||
if item.managerId == UserDefaults.int(forKey: .userId) {
|
||||
if item.creatorId == UserDefaults.int(forKey: .userId) {
|
||||
MyLiveReservationItemView(item: item, index: index)
|
||||
.contentShape(Rectangle())
|
||||
.onTapGesture {
|
||||
|
Reference in New Issue
Block a user