Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix undo redo issue
appflowy513423a9be54
diff --git a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/doc_stack_page.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/doc_stack_page.dartindex 3c4e56a904..5db2e12e4d 100644--- a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/doc_stack_page.dart+++ b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/doc_stack_page.dart@@ -179,15 +179,13 @@ class DocumentShareButton extends StatelessWidget {child: Selector<AppearanceSettingModel, AppLanguage>(selector: (ctx, notifier) => notifier.language,builder: (ctx, _, child) => ConstrainedBox(- constraints: BoxConstraints(- maxHeight: 30,- minWidth: buttonWidth,- maxWidth: 100,+ constraints: BoxConstraints.expand(+ height: 30,+ // minWidth: buttonWidth,+ width: 100,),child: RoundedTextButton(title: LocaleKeys.shareAction_buttonText.tr(),- // height: 30,- // width: buttonWidth,fontSize: 12,borderRadius: Corners.s6Border,color: Colors.lightBlue,diff --git a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/history_button.dart b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/history_button.dartindex 72a1ffb55e..fbe85f40dd 100644--- a/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/history_button.dart+++ b/frontend/app_flowy/lib/workspace/presentation/stack_page/doc/widget/toolbar/history_button.dart@@ -26,7 +26,7 @@ class FlowyHistoryButton extends StatelessWidget {icon: icon,iconSize: iconSize,controller: controller,- undo: true,+ undo: undo,),);}