feat(gift): 선물 발송 표시를 보정한다
This commit is contained in:
@@ -57,6 +57,7 @@ struct CreatorChannelHeaderSection: View {
|
||||
CreatorChannelTalkActionSection(
|
||||
recipientMemberId: creator.creatorId,
|
||||
recipientCreatorNickname: creator.nickname,
|
||||
recipientCreatorProfileImageUrl: creator.profileImageUrl,
|
||||
isAiChatAvailable: creator.isAiChatAvailable,
|
||||
isDmAvailable: creator.isDmAvailable,
|
||||
isOwnCreatorChannel: isOwnCreatorChannel,
|
||||
|
||||
+15
-6
@@ -3,6 +3,7 @@ import SwiftUI
|
||||
struct CreatorChannelTalkActionSection: View {
|
||||
let recipientMemberId: Int
|
||||
let recipientCreatorNickname: String
|
||||
let recipientCreatorProfileImageUrl: String
|
||||
let isAiChatAvailable: Bool
|
||||
let isDmAvailable: Bool
|
||||
let isOwnCreatorChannel: Bool
|
||||
@@ -66,16 +67,24 @@ struct CreatorChannelTalkActionSection: View {
|
||||
Button(action: {
|
||||
AppState.shared.setAppStep(step: .giftSend(
|
||||
recipientMemberId: recipientMemberId,
|
||||
recipientCreatorNickname: recipientCreatorNickname
|
||||
recipientCreatorNickname: recipientCreatorNickname,
|
||||
recipientCreatorProfileImageUrl: recipientCreatorProfileImageUrl
|
||||
))
|
||||
}) {
|
||||
Text(I18n.CreatorChannelHome.sendGift)
|
||||
.appFont(size: 16, weight: .medium)
|
||||
.foregroundColor(.white)
|
||||
HStack(spacing: SodaSpacing.s6) {
|
||||
Image("ic_send_gift")
|
||||
.resizable()
|
||||
.frame(width: 20, height: 20)
|
||||
.accessibilityHidden(true)
|
||||
|
||||
Text(I18n.CreatorChannelHome.sendGift)
|
||||
.appFont(size: 16, weight: .medium)
|
||||
.foregroundColor(.black)
|
||||
}
|
||||
.padding(SodaSpacing.s12)
|
||||
.overlay(
|
||||
.background(
|
||||
Capsule()
|
||||
.stroke(Color.white.opacity(0.3), lineWidth: 1)
|
||||
.fill(Color.white)
|
||||
)
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
|
||||
Reference in New Issue
Block a user