Pārlūkot izejas kodu

fix: import markdown file (#2841)

Nathan.fooo 1 gadu atpakaļ
vecāks
revīzija
79fc7c4cfe

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

@@ -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,