feat(main): 하단 탭 순서 변경
This commit is contained in:
@@ -40,31 +40,6 @@ struct BottomTabView: View {
|
||||
width: tabWidth
|
||||
)
|
||||
|
||||
TabButton(
|
||||
title: "채팅",
|
||||
action: {
|
||||
if currentTab != .chat {
|
||||
currentTab = .chat
|
||||
}
|
||||
},
|
||||
image: {
|
||||
currentTab == .chat ?
|
||||
"ic_chat_selected" :
|
||||
"ic_chat"
|
||||
},
|
||||
fontName: {
|
||||
currentTab == .chat ?
|
||||
Font.bold.rawValue :
|
||||
Font.medium.rawValue
|
||||
},
|
||||
color: {
|
||||
currentTab == .chat ?
|
||||
Color.button :
|
||||
Color.graybb
|
||||
},
|
||||
width: tabWidth
|
||||
)
|
||||
|
||||
TabButton(
|
||||
title: "라이브",
|
||||
action: {
|
||||
@@ -90,6 +65,31 @@ struct BottomTabView: View {
|
||||
width: tabWidth
|
||||
)
|
||||
|
||||
TabButton(
|
||||
title: "채팅",
|
||||
action: {
|
||||
if currentTab != .chat {
|
||||
currentTab = .chat
|
||||
}
|
||||
},
|
||||
image: {
|
||||
currentTab == .chat ?
|
||||
"ic_chat_selected" :
|
||||
"ic_chat"
|
||||
},
|
||||
fontName: {
|
||||
currentTab == .chat ?
|
||||
Font.bold.rawValue :
|
||||
Font.medium.rawValue
|
||||
},
|
||||
color: {
|
||||
currentTab == .chat ?
|
||||
Color.button :
|
||||
Color.graybb
|
||||
},
|
||||
width: tabWidth
|
||||
)
|
||||
|
||||
TabButton(
|
||||
title: "마이",
|
||||
action: {
|
||||
|
||||
Reference in New Issue
Block a user