edit padding
This commit is contained in:
parent
40a5f4c628
commit
198b51bd91
@ -12,7 +12,7 @@ struct CustomTabBar: View {
|
|||||||
TabBarButton(systemName: "person.2.fill", text: NSLocalizedString("Контакты", comment: ""), isSelected: selectedTab == 4) {
|
TabBarButton(systemName: "person.2.fill", text: NSLocalizedString("Контакты", comment: ""), isSelected: selectedTab == 4) {
|
||||||
selectedTab = 4
|
selectedTab = 4
|
||||||
}
|
}
|
||||||
|
|
||||||
TabBarButton(systemName: "bubble.left.and.bubble.right.fill", text: NSLocalizedString("Чаты", comment: ""), isSelected: selectedTab == 2) {
|
TabBarButton(systemName: "bubble.left.and.bubble.right.fill", text: NSLocalizedString("Чаты", comment: ""), isSelected: selectedTab == 2) {
|
||||||
selectedTab = 2
|
selectedTab = 2
|
||||||
}
|
}
|
||||||
@ -43,7 +43,7 @@ struct CustomTabBar: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.padding(.horizontal)
|
.padding(.horizontal)
|
||||||
.padding(.top, 1)
|
.padding(.top, isMessengerModeEnabled ? 6 : 1)
|
||||||
.padding(.bottom, 30) // Добавляем отступ снизу
|
.padding(.bottom, 30) // Добавляем отступ снизу
|
||||||
// .background(Color(.systemGray6))
|
// .background(Color(.systemGray6))
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user