fix: sheet(item:) binding, Color hex quotes, /bin/bash typo
This commit is contained in:
@@ -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 ?? "") }
|
||||
|
||||
Reference in New Issue
Block a user