메인 페이지
- 하단 메시지 탭 제거
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user