라이브 만들기 버튼 스타일 개선
라이브 생성 아이콘을 ic_make_live로 교체하고 텍스트를 추가한다. 샘플 MessageInputView 파일을 제거한다.
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 5.6 KiB |
@@ -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"
|
||||||
}
|
}
|
||||||
BIN
SodaLive/Resources/Assets.xcassets/ic_make_live.imageset/ic_make_live.png
vendored
Normal file
BIN
SodaLive/Resources/Assets.xcassets/ic_make_live.imageset/ic_make_live.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 896 B |
@@ -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()
|
|
||||||
}
|
|
||||||
@@ -127,16 +127,27 @@ struct LiveView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !appState.isShowPlayer && role == MemberRole.CREATOR.rawValue {
|
if !appState.isShowPlayer && role == MemberRole.CREATOR.rawValue {
|
||||||
Image("btn_make_live")
|
HStack(spacing: 5) {
|
||||||
.padding(.trailing, 16)
|
Image("ic_make_live")
|
||||||
.padding(.bottom, 16)
|
.resizable()
|
||||||
.onTapGesture {
|
.frame(width: 20, height: 20)
|
||||||
if !token.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty {
|
|
||||||
AppState.shared.setAppStep(step: .createLive(timeSettingMode: .NOW, onSuccess: onCreateSuccess))
|
Text("라이브 만들기")
|
||||||
} else {
|
.font(.custom(Font.preBold.rawValue, size: 13.3))
|
||||||
AppState.shared.setAppStep(step: .login)
|
.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)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user