마이페이지

- 내 보관함 이동 버튼 추가
This commit is contained in:
Yu Sung
2025-01-08 01:40:41 +09:00
parent d060b8620a
commit 6c0ea9595c
9 changed files with 65 additions and 34 deletions

View File

@@ -17,6 +17,8 @@ struct ContentBoxView: View {
@State private var selectedPlaylistId = 0
let initCurrentTab: ContentBoxViewModel.CurrentTab
var body: some View {
ZStack {
NavigationView {
@@ -71,6 +73,9 @@ struct ContentBoxView: View {
OrderListAllInnerView()
}
}
.onAppear {
viewModel.currentTab = initCurrentTab
}
}
if isShowCreatePlaylist {
@@ -92,5 +97,5 @@ struct ContentBoxView: View {
}
#Preview {
ContentBoxView()
ContentBoxView(initCurrentTab: .orderlist)
}