edit padding

This commit is contained in:
cheykrym 2025-10-23 21:12:11 +03:00
parent 40a5f4c628
commit 198b51bd91

View File

@ -12,7 +12,7 @@ struct CustomTabBar: View {
TabBarButton(systemName: "person.2.fill", text: NSLocalizedString("Контакты", comment: ""), isSelected: selectedTab == 4) {
selectedTab = 4
}
TabBarButton(systemName: "bubble.left.and.bubble.right.fill", text: NSLocalizedString("Чаты", comment: ""), isSelected: selectedTab == 2) {
selectedTab = 2
}
@ -43,7 +43,7 @@ struct CustomTabBar: View {
}
}
.padding(.horizontal)
.padding(.top, 1)
.padding(.top, isMessengerModeEnabled ? 6 : 1)
.padding(.bottom, 30) // Добавляем отступ снизу
// .background(Color(.systemGray6))
}