마이페이지
- 내 보관함 이동 버튼 추가
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user