feat(main): 콘텐츠 탭 타이틀바를 정리한다
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user