fix: health API uses JWT auth, Finance tab replaced with Health

This commit is contained in:
Cosmo
2026-03-25 17:47:33 +00:00
parent 7748392c31
commit 0d5eef1b87
3 changed files with 62 additions and 43 deletions

View File

@@ -16,10 +16,8 @@ struct MainTabView: View {
TrackerView()
.tabItem { Label("Трекер", systemImage: "chart.bar.fill") }
if authManager.userId == 1 {
FinanceView()
.tabItem { Label("Финансы", systemImage: "creditcard.fill") }
}
HealthView()
.tabItem { Label("Здоровье", systemImage: "heart.fill") }
SavingsView()
.tabItem { Label("Накопления", systemImage: "building.columns.fill") }