Fix warnings
This commit is contained in:
parent
21d57ecab1
commit
6abcb87739
@ -51,12 +51,8 @@ struct WorkoutTab: View {
|
|||||||
.refreshable {
|
.refreshable {
|
||||||
reloadAsync()
|
reloadAsync()
|
||||||
}
|
}
|
||||||
.onChange(of: database.file, perform: { value in
|
.onChange(of: database.file, reload)
|
||||||
reload()
|
.onChange(of: filteredActivityType, reload)
|
||||||
})
|
|
||||||
.onChange(of: filteredActivityType, perform: { _ in
|
|
||||||
reload()
|
|
||||||
})
|
|
||||||
.onAppear(perform: {
|
.onAppear(perform: {
|
||||||
if workouts.isEmpty {
|
if workouts.isEmpty {
|
||||||
reload()
|
reload()
|
||||||
|
Loading…
Reference in New Issue
Block a user