fix: sheet(item:) binding, Color hex quotes, /bin/bash typo
This commit is contained in:
@@ -244,7 +244,7 @@ struct SavingsCategoriesTab: View {
|
|||||||
EditSavingsCategoryView(isPresented: .constant(true), category: cat) { await load(refresh: true) }
|
EditSavingsCategoryView(isPresented: .constant(true), category: cat) { await load(refresh: true) }
|
||||||
.presentationDetents([.large])
|
.presentationDetents([.large])
|
||||||
.presentationDragIndicator(.visible)
|
.presentationDragIndicator(.visible)
|
||||||
.presentationBackground(Color(hex: 0a0a1a))
|
.presentationBackground(Color(hex: "0a0a1a"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ struct HabitListView: View {
|
|||||||
EditHabitView(isPresented: .constant(true), habit: habit) { await loadHabits(refresh: true) }
|
EditHabitView(isPresented: .constant(true), habit: habit) { await loadHabits(refresh: true) }
|
||||||
.presentationDetents([.large])
|
.presentationDetents([.large])
|
||||||
.presentationDragIndicator(.visible)
|
.presentationDragIndicator(.visible)
|
||||||
.presentationBackground(Color(hex: 0a0a1a))
|
.presentationBackground(Color(hex: "0a0a1a"))
|
||||||
}
|
}
|
||||||
.alert("Ошибка", isPresented: $showError) { Button("OK", role: .cancel) {} }
|
.alert("Ошибка", isPresented: $showError) { Button("OK", role: .cancel) {} }
|
||||||
message: { Text(errorMsg ?? "") }
|
message: { Text(errorMsg ?? "") }
|
||||||
@@ -302,7 +302,7 @@ struct TaskListView: View {
|
|||||||
EditTaskView(isPresented: .constant(true), task: task) { await loadTasks(refresh: true) }
|
EditTaskView(isPresented: .constant(true), task: task) { await loadTasks(refresh: true) }
|
||||||
.presentationDetents([.medium, .large])
|
.presentationDetents([.medium, .large])
|
||||||
.presentationDragIndicator(.visible)
|
.presentationDragIndicator(.visible)
|
||||||
.presentationBackground(Color(hex: 0a0a1a))
|
.presentationBackground(Color(hex: "0a0a1a"))
|
||||||
}
|
}
|
||||||
.alert("Ошибка", isPresented: $showError) { Button("OK", role: .cancel) {} }
|
.alert("Ошибка", isPresented: $showError) { Button("OK", role: .cancel) {} }
|
||||||
message: { Text(errorMsg ?? "") }
|
message: { Text(errorMsg ?? "") }
|
||||||
|
|||||||
Reference in New Issue
Block a user