Skip to content

Commit

Permalink
Merge pull request #47 from School-of-Company/46-TabBar-ChangeApply
Browse files Browse the repository at this point in the history
🔀 :: [#46] TabBar 변경사항 적용
  • Loading branch information
Xixn2 authored Nov 5, 2024
2 parents e4b8da5 + a7ae527 commit 59fa9f4
Showing 1 changed file with 5 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,33 +20,26 @@ struct TabBarView: View {
}
.tag(1)

MainView()
.tabItem {
Image(selectedTab == 2 ? "onProgram" : "offProgram")
Text("프로그램")
}
.tag(2)

MainView()
.tabItem {
Image(selectedTab == 3 ? "onCheck" : "offCheck")
Text("명단 관리")
Text("박람회 명단")
}
.tag(3)
.tag(2)

MainView()
.tabItem {
Image(selectedTab == 4 ? "onExpo" : "offExpo")
Text("박람회생성")
Text("박람회 생성")
}
.tag(4)
.tag(3)

MainView()
.tabItem {
Image(selectedTab == 5 ? "onUser" : "offUser")
Text("프로필")
}
.tag(5)
.tag(4)
}
.accentColor(ExpoIOSAsset.Color.main.swiftUIColor)
}
Expand Down

0 comments on commit 59fa9f4

Please sign in to comment.