메인 페이지

- 하단 메시지 탭 제거
This commit is contained in:
Yu Sung
2025-03-24 09:22:28 +09:00
parent b12200dd9b
commit 8cb7287b5d
5 changed files with 11 additions and 34 deletions

View File

@@ -13,7 +13,7 @@ struct BottomTabView: View {
var body: some View {
HStack(spacing: 0) {
let tabWidth = width / 5
let tabWidth = width / 4
TabButton(
title: "콘텐츠",
@@ -90,31 +90,6 @@ struct BottomTabView: View {
width: tabWidth
)
TabButton(
title: "메시지",
action: {
if currentTab != .message {
currentTab = .message
}
},
image: {
currentTab == .message ?
"ic_tabbar_message_selected" :
"ic_tabbar_message_normal"
},
fontName: {
currentTab == .message ?
Font.bold.rawValue :
Font.medium.rawValue
},
color: {
currentTab == .message ?
Color.button :
Color.graybb
},
width: tabWidth
)
TabButton(
title: "마이",
action: {