feat(creator): 라이브 탭 UI를 마무리한다

This commit is contained in:
Yu Sung
2026-07-04 03:20:46 +09:00
parent abc10d7610
commit b6580e201f
11 changed files with 109 additions and 92 deletions

View File

@@ -66,8 +66,7 @@ struct CreatorChannelFloatingActionMenu: View {
}
}
}
.padding(.trailing, SodaSpacing.s20)
.padding(.bottom, SodaSpacing.s32)
.padding(.trailing, SodaSpacing.s14)
.animation(animation, value: isPresented)
}
.frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .bottomTrailing)

View File

@@ -1,22 +1,11 @@
import SwiftUI
struct CreatorChannelSortBar: View {
let totalCount: Int
let selectedSort: ContentSort
let onTapSort: () -> Void
var body: some View {
HStack(alignment: .center, spacing: SodaSpacing.s8) {
HStack(spacing: SodaSpacing.s4) {
Text(I18n.CreatorChannelLive.totalLabel)
.appFont(size: 14, weight: .medium)
.foregroundColor(Color.gray500)
Text(totalCount.comma())
.appFont(size: 14, weight: .medium)
.foregroundColor(Color.gray400)
}
Spacer()
Button(action: onTapSort) {
@@ -25,9 +14,8 @@ struct CreatorChannelSortBar: View {
.appFont(size: 14, weight: .medium)
.foregroundColor(Color.white)
Image(systemName: "chevron.down")
Image("ic_new_sort")
.font(.system(size: 12, weight: .semibold))
.foregroundColor(Color.gray400)
}
.contentShape(Rectangle())
}
@@ -41,7 +29,7 @@ struct CreatorChannelSortBar: View {
struct CreatorChannelSortBar_Previews: PreviewProvider {
static var previews: some View {
CreatorChannelSortBar(totalCount: 100, selectedSort: .latest, onTapSort: {})
CreatorChannelSortBar(selectedSort: .latest, onTapSort: {})
.previewLayout(.sizeThatFits)
}
}