라이브 만들기 버튼 스타일 개선

라이브 생성 아이콘을 ic_make_live로 교체하고 텍스트를 추가한다.

샘플 MessageInputView 파일을
  제거한다.
This commit is contained in:
Yu Sung
2025-12-04 15:42:07 +09:00
parent 4c8aabdd4c
commit 0375722d4c
5 changed files with 21 additions and 28 deletions

View File

@@ -127,16 +127,27 @@ struct LiveView: View {
}
if !appState.isShowPlayer && role == MemberRole.CREATOR.rawValue {
Image("btn_make_live")
.padding(.trailing, 16)
.padding(.bottom, 16)
.onTapGesture {
if !token.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty {
AppState.shared.setAppStep(step: .createLive(timeSettingMode: .NOW, onSuccess: onCreateSuccess))
} else {
AppState.shared.setAppStep(step: .login)
}
HStack(spacing: 5) {
Image("ic_make_live")
.resizable()
.frame(width: 20, height: 20)
Text("라이브 만들기")
.font(.custom(Font.preBold.rawValue, size: 13.3))
.foregroundColor(.white)
}
.padding(13.3)
.background(Color(hex: "3bb9f1"))
.cornerRadius(44)
.padding(.trailing, 16)
.padding(.bottom, 16)
.onTapGesture {
if !token.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty {
AppState.shared.setAppStep(step: .createLive(timeSettingMode: .NOW, onSuccess: onCreateSuccess))
} else {
AppState.shared.setAppStep(step: .login)
}
}
}
}