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

라이브 생성 아이콘을 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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

View File

@@ -9,7 +9,7 @@
"scale" : "2x" "scale" : "2x"
}, },
{ {
"filename" : "btn_make_live.png", "filename" : "ic_make_live.png",
"idiom" : "universal", "idiom" : "universal",
"scale" : "3x" "scale" : "3x"
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 896 B

View File

@@ -1,18 +0,0 @@
//
// MessageInputView.swift
// SodaLive
//
// Created by klaus on 9/3/25.
//
import SwiftUI
struct MessageInputView: View {
var body: some View {
Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/)
}
}
#Preview {
MessageInputView()
}

View File

@@ -127,7 +127,18 @@ struct LiveView: View {
} }
if !appState.isShowPlayer && role == MemberRole.CREATOR.rawValue { if !appState.isShowPlayer && role == MemberRole.CREATOR.rawValue {
Image("btn_make_live") 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(.trailing, 16)
.padding(.bottom, 16) .padding(.bottom, 16)
.onTapGesture { .onTapGesture {