forked from Nexus/nexus
add sharing support
needs more testing
This commit is contained in:
parent
432064e111
commit
78c6b2ef46
1 changed files with 517 additions and 1 deletions
|
|
@ -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
|
||||
() =>
|
||||
|
|
|
|||
Loading…
Reference in a new issue