File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
frontend/app_flowy/lib/plugins/trash Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -140,23 +140,23 @@ class _TrashPageState extends State<TrashPage> {
140140 return SizedBox (
141141 height: 36 ,
142142 child: Row (
143+ crossAxisAlignment: CrossAxisAlignment .stretch,
143144 children: [
144145 FlowyText .semibold (LocaleKeys .trash_text.tr ()),
145146 const Spacer (),
146- SizedBox .fromSize (
147- size: const Size (102 , 30 ),
147+ IntrinsicWidth (
148148 child: FlowyButton (
149149 text: FlowyText .medium (LocaleKeys .trash_restoreAll.tr (),
150150 fontSize: 12 ),
151151 leftIcon: svgWidget ('editor/restore' , color: theme.iconColor),
152152 hoverColor: theme.hover,
153- onTap: () =>
154- context.read <TrashBloc >().add (const TrashEvent .restoreAll ()),
153+ onTap: () => context.read <TrashBloc >().add (
154+ const TrashEvent .restoreAll (),
155+ ),
155156 ),
156157 ),
157158 const HSpace (6 ),
158- SizedBox .fromSize (
159- size: const Size (102 , 30 ),
159+ IntrinsicWidth (
160160 child: FlowyButton (
161161 text: FlowyText .medium (LocaleKeys .trash_deleteAll.tr (),
162162 fontSize: 12 ),
You can’t perform that action at this time.
0 commit comments