라이브 상단에 메시지 버튼 추가
This commit is contained in:
parent
8cb7287b5d
commit
4b38187330
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
"images" : [
|
||||||
|
{
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "1x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "2x"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename" : "ic_message.png",
|
||||||
|
"idiom" : "universal",
|
||||||
|
"scale" : "3x"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info" : {
|
||||||
|
"author" : "xcode",
|
||||||
|
"version" : 1
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
|
@ -23,7 +23,14 @@ struct SectionRecommendLiveView: View {
|
||||||
|
|
||||||
Text("라이브")
|
Text("라이브")
|
||||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||||
.foregroundColor(Color(hex: "eeeeee"))
|
.foregroundColor(.grayee)
|
||||||
|
|
||||||
|
Spacer()
|
||||||
|
|
||||||
|
Image("ic_message")
|
||||||
|
.onTapGesture {
|
||||||
|
AppState.shared.setAppStep(step: .message)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.frame(width: screenSize().width - 26.7, alignment: .leading)
|
.frame(width: screenSize().width - 26.7, alignment: .leading)
|
||||||
|
|
||||||
|
|
|
@ -13,24 +13,28 @@ struct MessageView: View {
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
GeometryReader { geo in
|
GeometryReader { geo in
|
||||||
VStack {
|
ZStack {
|
||||||
HomeNavigationBar(title: "메시지") {}
|
Color.black
|
||||||
|
|
||||||
Tab()
|
VStack {
|
||||||
|
DetailNavigationBar(title: "메시지")
|
||||||
|
|
||||||
Text("※ 보관하지 않은 받은 메시지는 3일 후, 자동 삭제됩니다.")
|
Tab()
|
||||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
|
||||||
.padding(.top, 20)
|
|
||||||
|
|
||||||
switch viewModel.currentTab {
|
Text("※ 보관하지 않은 받은 메시지는 3일 후, 자동 삭제됩니다.")
|
||||||
case .text:
|
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||||
TextMessageView()
|
.padding(.top, 20)
|
||||||
|
|
||||||
case .voice:
|
switch viewModel.currentTab {
|
||||||
VoiceMessageView()
|
case .text:
|
||||||
|
TextMessageView()
|
||||||
|
|
||||||
|
case .voice:
|
||||||
|
VoiceMessageView()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
.frame(width: geo.size.width, height: geo.size.height)
|
||||||
}
|
}
|
||||||
.frame(width: geo.size.width, height: geo.size.height)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue