From 2080fdc9551675a675aef38f45e341e5315aa797 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Tue, 16 May 2023 00:04:11 -0400 Subject: [PATCH] Fix replied-to status not updating when selecting different draft --- .../Sources/ComposeUI/Controllers/ComposeController.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Packages/ComposeUI/Sources/ComposeUI/Controllers/ComposeController.swift b/Packages/ComposeUI/Sources/ComposeUI/Controllers/ComposeController.swift index 387273a4..a3804991 100644 --- a/Packages/ComposeUI/Sources/ComposeUI/Controllers/ComposeController.swift +++ b/Packages/ComposeUI/Sources/ComposeUI/Controllers/ComposeController.swift @@ -369,6 +369,8 @@ public final class ComposeController: ViewController { rowTopInset: 8, globalFrameOutsideList: globalFrameOutsideList ) + // i don't know why swiftui can't infer this from the status that's passed into the ReplyStatusView changing + .id(id) .listRowInsets(EdgeInsets(top: 8, leading: 8, bottom: 4, trailing: 8)) .listRowSeparator(.hidden) .listRowBackground(config.backgroundColor)