fix: sheet(item:) binding, Color hex quotes, /bin/bash typo

This commit is contained in:
Cosmo
2026-03-25 18:07:20 +00:00
parent c9bd63d5e7
commit e6c0e73eeb
2 changed files with 3 additions and 3 deletions

View File

@@ -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"))
}
}

View File

@@ -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 ?? "") }