From 6dcce79379b328df26604d4a9aade2b8efa5b103 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Mon, 27 Feb 2023 13:09:50 +0100 Subject: [PATCH] Fix swipe actions not updating --- .../Status/Sources/Status/Row/Subviews/StatusRowSwipeView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/Status/Sources/Status/Row/Subviews/StatusRowSwipeView.swift b/Packages/Status/Sources/Status/Row/Subviews/StatusRowSwipeView.swift index 8487bade..6b0e0d8b 100644 --- a/Packages/Status/Sources/Status/Row/Subviews/StatusRowSwipeView.swift +++ b/Packages/Status/Sources/Status/Row/Subviews/StatusRowSwipeView.swift @@ -16,7 +16,7 @@ struct StatusRowSwipeView: View { return viewModel.status.visibility == .priv && viewModel.status.account.id == currentAccount.account?.id } - let viewModel: StatusRowViewModel + @ObservedObject var viewModel: StatusRowViewModel let mode: Mode var body: some View {