fix: health API uses JWT auth, Finance tab replaced with Health
This commit is contained in:
@@ -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") }
|
||||
|
||||
Reference in New Issue
Block a user