Files
sodalive-ios/SodaLive/Sources/Live/Room/V2/Component/Button/LiveRoomNewChatView.swift
Yu Sung 280e424385 커스텀 폰트 pretendard-medium, gmarket-medium를 사용하고 있던 것을 appFont 모디
파이어를 사용하여 한국어는 pretendard, 그 외에는 시스템 폰트를 사용하도록 수정
2026-01-23 03:09:20 +09:00

41 lines
939 B
Swift

//
// LiveRoomNewChatView.swift
// SodaLive
//
// Created by klaus on 2024/01/18.
//
import SwiftUI
struct LiveRoomNewChatView: View {
let scrollToBottom: () -> Void
var body: some View {
HStack(spacing: 0) {
Spacer()
HStack(spacing: 6.7) {
Image("ic_bottom_white")
Text("새로운 채팅")
.appFont(size: 13.3, weight: .medium)
.foregroundColor(Color.grayee)
}
.padding(.vertical, 8)
.padding(.horizontal, 13.3)
.background(Color.gray55.opacity(0.8))
.cornerRadius(16.7)
.padding(.bottom, 13.3)
.onTapGesture { scrollToBottom() }
Spacer()
}
}
}
struct LiveRoomNewChatView_Previews: PreviewProvider {
static var previews: some View {
LiveRoomNewChatView {}
}
}