add sharing support

needs more testing
This commit is contained in:
Henry Hiles 2026-11-25 16:57:33 -05:00
commit 78c6b2ef46
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -94,6 +94,7 @@ class const Composer(
:poll,
:location,
:textCommands,
:textReplacements,
) = ref.watch(
draftProvider.select(
(draft) => (
@ -104,6 +105,7 @@ class const Composer(
poll: draft.poll,
location: draft.location,
textCommands: draft.textCommands,
textReplacements: draft.textReplacements,
),
),
);
@ -145,7 +147,7 @@ class const Composer(
];
},
);
}, [composer, editingEvent, hasReplacement]);
}, [composer, editingEvent, hasReplacement, textReplacements]);
useEffect(
// After the frame, as FlutterTagger and TextField still use it until then
() =>