Fix replied-to status not updating when selecting different draft

This commit is contained in:
Shadowfacts 2023-05-16 00:04:11 -04:00
parent 70f8748364
commit 2080fdc955
1 changed files with 2 additions and 0 deletions

View File

@ -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)