Refactor how drafts are handled on a coordinator level and add support for them on thread timelines.

This commit is contained in:
Stefan Ceriu
2025-06-13 15:11:20 +03:00
committed by Stefan Ceriu
parent eaf14eaaac
commit 6fc6df9375
6 changed files with 33 additions and 16 deletions
@@ -181,6 +181,9 @@ struct ComposerToolbar: View {
} onAppearAction: {
context.send(viewAction: .composerAppeared)
}
.onDisappear {
context.send(viewAction: .composerDisappeared)
}
.environmentObject(context)
.focused($composerFocused)
.padding(.leading, context.composerFormattingEnabled ? 7 : 0)