Browse Source

fix: import markdown file (#2841)

Nathan.fooo 1 year ago
parent
commit
79fc7c4cfe
1 changed files with 4 additions and 1 deletions
  1. 4 1
      frontend/appflowy_flutter/lib/plugins/document/document.dart

+ 4 - 1
frontend/appflowy_flutter/lib/plugins/document/document.dart

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