feat(main): 콘텐츠 탭 타이틀바를 정리한다

This commit is contained in:
Yu Sung
2026-07-08 03:45:32 +09:00
parent c0369e6f58
commit 403eee262f
8 changed files with 58 additions and 7 deletions

View File

@@ -3,7 +3,7 @@ import SwiftUI
struct MainContentView: View {
let onTapCanCharge: () -> Void
let onTapSearch: () -> Void
let onTapNotificationList: () -> Void
let onTapStorage: () -> Void
let onTapContent: (Int) -> Void
let onTapBanner: (AudioBannerResponse) -> Void
let onTapSeries: (Int) -> Void
@@ -14,7 +14,7 @@ struct MainContentView: View {
var body: some View {
VStack(spacing: 0) {
HomeTitleBar {
DefaultTitleBar(title: MainTab.content.title) {
HStack(spacing: SodaSpacing.s14) {
Image("ic_bar_cash")
.onTapGesture { onTapCanCharge() }
@@ -22,8 +22,8 @@ struct MainContentView: View {
Image("ic_bar_search")
.onTapGesture { onTapSearch() }
Image("ic_bar_bell")
.onTapGesture { onTapNotificationList() }
Image("ic_bar_storage")
.onTapGesture { onTapStorage() }
}
}
@@ -75,7 +75,7 @@ struct MainContentView_Previews: PreviewProvider {
MainContentView(
onTapCanCharge: {},
onTapSearch: {},
onTapNotificationList: {},
onTapStorage: {},
onTapContent: { _ in },
onTapBanner: { _ in },
onTapSeries: { _ in },