Fix warnings

This commit is contained in:
Christoph Hagen 2024-03-19 14:47:17 +01:00
parent 21d57ecab1
commit 6abcb87739

View File

@ -51,12 +51,8 @@ struct WorkoutTab: View {
.refreshable {
reloadAsync()
}
.onChange(of: database.file, perform: { value in
reload()
})
.onChange(of: filteredActivityType, perform: { _ in
reload()
})
.onChange(of: database.file, reload)
.onChange(of: filteredActivityType, reload)
.onAppear(perform: {
if workouts.isEmpty {
reload()