|
@@ -126,7 +126,10 @@ class DocumentPluginWidgetBuilder extends PluginWidgetBuilder
|
|
|
Widget? get rightBarItem {
|
|
|
return Row(
|
|
|
children: [
|
|
|
- DocumentShareButton(view: view),
|
|
|
+ DocumentShareButton(
|
|
|
+ key: ValueKey(view.id),
|
|
|
+ view: view,
|
|
|
+ ),
|
|
|
const SizedBox(width: 10),
|
|
|
BlocProvider.value(
|
|
|
value: documentAppearanceCubit,
|