feat(creator-profile): 라이브 섹션 UI 변경
This commit is contained in:
@@ -141,9 +141,13 @@ struct UserProfileView: View {
|
||||
|
||||
if creatorProfile.creator.creatorId == UserDefaults.int(forKey: .userId) || creatorProfile.liveRoomList.count > 0 {
|
||||
VStack(alignment: .leading, spacing: 14) {
|
||||
Text("라이브")
|
||||
.font(.custom(Font.preBold.rawValue, size: 26))
|
||||
.foregroundColor(Color.white)
|
||||
HStack(spacing: 0) {
|
||||
Text("라이브")
|
||||
.font(.custom(Font.preBold.rawValue, size: 26))
|
||||
.foregroundColor(Color.white)
|
||||
|
||||
Spacer()
|
||||
}
|
||||
|
||||
if creatorProfile.creator.creatorId == UserDefaults.int(forKey: .userId) {
|
||||
HStack(spacing: 8) {
|
||||
@@ -193,6 +197,7 @@ struct UserProfileView: View {
|
||||
)
|
||||
}
|
||||
}
|
||||
.padding(.horizontal, 24)
|
||||
}
|
||||
|
||||
if creatorProfile.creator.creatorId == UserDefaults.int(forKey: .userId) || creatorProfile.contentList.count > 0 {
|
||||
@@ -355,6 +360,7 @@ struct UserProfileView: View {
|
||||
startDateTime: viewModel.liveStartDate,
|
||||
nowDateTime: viewModel.nowDate
|
||||
)
|
||||
|
||||
}
|
||||
|
||||
if viewModel.isShowPasswordDialog {
|
||||
@@ -460,10 +466,18 @@ struct UserProfileView: View {
|
||||
viewModel.errorMessage = message
|
||||
viewModel.isShowPopup = true
|
||||
}
|
||||
.padding(.top, proxy.safeAreaInsets.top)
|
||||
.padding(.bottom, proxy.safeAreaInsets.bottom)
|
||||
.padding(.trailing, proxy.safeAreaInsets.trailing)
|
||||
.padding(.leading, proxy.safeAreaInsets.leading)
|
||||
}
|
||||
|
||||
if isShowMenuSettings {
|
||||
MenuSettingsView(isShowing: $isShowMenuSettings)
|
||||
.padding(.top, proxy.safeAreaInsets.top)
|
||||
.padding(.bottom, proxy.safeAreaInsets.bottom)
|
||||
.padding(.trailing, proxy.safeAreaInsets.trailing)
|
||||
.padding(.leading, proxy.safeAreaInsets.leading)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user