From e6c0e73eeb14705b9a5a845aa9c40cd9437fc3bc Mon Sep 17 00:00:00 2001 From: Cosmo Date: Wed, 25 Mar 2026 18:07:20 +0000 Subject: [PATCH] fix: sheet(item:) binding, Color hex quotes, /bin/bash typo --- PulseHealth/Views/Savings/SavingsView.swift | 2 +- PulseHealth/Views/Tracker/TrackerView.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PulseHealth/Views/Savings/SavingsView.swift b/PulseHealth/Views/Savings/SavingsView.swift index 720f9c0..7a6ec2f 100644 --- a/PulseHealth/Views/Savings/SavingsView.swift +++ b/PulseHealth/Views/Savings/SavingsView.swift @@ -244,7 +244,7 @@ struct SavingsCategoriesTab: View { EditSavingsCategoryView(isPresented: .constant(true), category: cat) { await load(refresh: true) } .presentationDetents([.large]) .presentationDragIndicator(.visible) - .presentationBackground(Color(hex: 0a0a1a)) + .presentationBackground(Color(hex: "0a0a1a")) } } diff --git a/PulseHealth/Views/Tracker/TrackerView.swift b/PulseHealth/Views/Tracker/TrackerView.swift index 08c81cd..dc8adbf 100644 --- a/PulseHealth/Views/Tracker/TrackerView.swift +++ b/PulseHealth/Views/Tracker/TrackerView.swift @@ -119,7 +119,7 @@ struct HabitListView: View { EditHabitView(isPresented: .constant(true), habit: habit) { await loadHabits(refresh: true) } .presentationDetents([.large]) .presentationDragIndicator(.visible) - .presentationBackground(Color(hex: 0a0a1a)) + .presentationBackground(Color(hex: "0a0a1a")) } .alert("Ошибка", isPresented: $showError) { Button("OK", role: .cancel) {} } message: { Text(errorMsg ?? "") } @@ -302,7 +302,7 @@ struct TaskListView: View { EditTaskView(isPresented: .constant(true), task: task) { await loadTasks(refresh: true) } .presentationDetents([.medium, .large]) .presentationDragIndicator(.visible) - .presentationBackground(Color(hex: 0a0a1a)) + .presentationBackground(Color(hex: "0a0a1a")) } .alert("Ошибка", isPresented: $showError) { Button("OK", role: .cancel) {} } message: { Text(errorMsg ?? "") }