Enable pull to refresh for budget overview

This commit is contained in:
William Brawner 2022-05-17 19:54:59 -06:00
parent f62670aaec
commit 7d1c9a9df8

View file

@ -30,7 +30,11 @@ struct BudgetDetailsView: View {
Section("expenses") { Section("expenses") {
ExpensesOverview(overview: overview) ExpensesOverview(overview: overview)
} }
}.listStyle(.insetGrouped) }
.listStyle(.insetGrouped)
.refreshable {
await dataStore.loadOverview(self.budget)
}
} }
} }
} }