mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix undo redo issue
This commit is contained in:
parent
5a3099e323
commit
513423a9be
@ -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,
|
||||
|
@ -26,7 +26,7 @@ class FlowyHistoryButton extends StatelessWidget {
|
||||
icon: icon,
|
||||
iconSize: iconSize,
|
||||
controller: controller,
|
||||
undo: true,
|
||||
undo: undo,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user