From 7d1c9a9df8770144b3b1804b2f10882df43ea63c Mon Sep 17 00:00:00 2001 From: Billy Brawner Date: Tue, 17 May 2022 19:54:59 -0600 Subject: [PATCH] Enable pull to refresh for budget overview --- Twigs/Budget/BudgetDetailsView.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Twigs/Budget/BudgetDetailsView.swift b/Twigs/Budget/BudgetDetailsView.swift index ee35350..44b95d4 100644 --- a/Twigs/Budget/BudgetDetailsView.swift +++ b/Twigs/Budget/BudgetDetailsView.swift @@ -30,7 +30,11 @@ struct BudgetDetailsView: View { Section("expenses") { ExpensesOverview(overview: overview) } - }.listStyle(.insetGrouped) + } + .listStyle(.insetGrouped) + .refreshable { + await dataStore.loadOverview(self.budget) + } } } }